Skip to content

Commit

Permalink
Fix pointless discard error
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioarnold committed Sep 14, 2022
1 parent d6ab53e commit 3ab427f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion deps/zigwin32
Submodule zigwin32 updated 306 files
1 change: 0 additions & 1 deletion src/CanvasWidget.zig
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@ const FillTool = struct {
picking: bool = false,

fn onMouseMove(self: *FillTool, canvas: *CanvasWidget, event: *const gui.MouseEvent) void {
_ = self;
const point = canvas.toDocumentSpace(event.x, event.y);
self.edit_point.x = @floatToInt(i32, @floor(point.x));
self.edit_point.y = @floatToInt(i32, @floor(point.y));
Expand Down

0 comments on commit 3ab427f

Please sign in to comment.