refactor: remove obsolete command overlay_release_control
This commit is contained in:
parent
879b188170
commit
745c4db0fe
2 changed files with 0 additions and 10 deletions
|
@ -322,11 +322,6 @@ const cmds = struct {
|
|||
}
|
||||
pub const overlay_insert_bytes_meta = .{ .arguments = &.{.string} };
|
||||
|
||||
pub fn overlay_release_control(self: *Self, _: Ctx) Result {
|
||||
if (self.menu.selected orelse 0 > 0) return self.cmd("palette_menu_activate", .{});
|
||||
}
|
||||
pub const overlay_release_control_meta = .{};
|
||||
|
||||
pub fn overlay_toggle_panel(self: *Self, _: Ctx) Result {
|
||||
return self.cmd_async("toggle_panel");
|
||||
}
|
||||
|
|
|
@ -447,11 +447,6 @@ pub fn Create(options: type) type {
|
|||
}
|
||||
pub const overlay_insert_bytes_meta = .{ .arguments = &.{.string} };
|
||||
|
||||
pub fn overlay_release_control(self: *Self, _: Ctx) Result {
|
||||
if (self.menu.selected orelse 0 > 0) return self.cmd("palette_menu_activate", .{});
|
||||
}
|
||||
pub const overlay_release_control_meta = .{};
|
||||
|
||||
pub fn overlay_toggle_panel(self: *Self, _: Ctx) Result {
|
||||
return self.cmd_async("toggle_panel");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue