summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
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;