fix(editor): correct signature of drag_to command
This commit is contained in:
parent
563772659f
commit
9e323fe85e
1 changed files with 1 additions and 1 deletions
|
@ -1742,7 +1742,7 @@ pub const Editor = struct {
|
|||
self.clamp_mouse();
|
||||
}
|
||||
|
||||
pub fn drag_to(self: *Self, ctx: Context) !void {
|
||||
pub fn drag_to(self: *Self, ctx: Context) Result {
|
||||
var y: i32 = 0;
|
||||
var x: i32 = 0;
|
||||
if (!try ctx.args.match(.{ tp.extract(&y), tp.extract(&x) }))
|
||||
|
|
Loading…
Add table
Reference in a new issue