summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-31 21:50:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-10-31 21:50:16 +0100
commit292244ab8fe9b4c87f5b4d827b85d9ac50589c25 (patch)
tree9a985dabe4fc306d55e46eec73ffb0db402675ec /editor/editor.cpp
parent7eb0e9ac4d7c5daff5698286ed73f5ca1db33c32 (diff)
also move cursor
Diffstat (limited to 'editor/editor.cpp')
-rw-r--r--editor/editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 7f9ba11d..04727679 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -277,7 +277,7 @@ auto editor::get_snap_value(snap_mode snap, int mods) const -> snap_mode
return snap_mode::none;
}
-void editor::on_mouse_move(world& world, global_coords pos, int mods)
+void editor::on_mouse_move(world& world, global_coords& pos, int mods)
{
if (!current())
return;