fix: store button click locations as signed values
This commit is contained in:
parent
e6cc1c35f9
commit
25a719382f
22 changed files with 36 additions and 36 deletions
|
|
@ -259,7 +259,7 @@ fn menu_on_render(self: *Self, button: *ButtonType, theme: *const Widget.Theme,
|
|||
return false;
|
||||
}
|
||||
|
||||
fn menu_action(_: **Menu.State(*Self), button: *ButtonType, _: Button.Cursor) void {
|
||||
fn menu_action(_: **Menu.State(*Self), button: *ButtonType, _: Widget.Pos) void {
|
||||
var description: []const u8 = undefined;
|
||||
var hint: []const u8 = undefined;
|
||||
var command_name: []const u8 = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue