summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.hpp
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.hpp
parent7eb0e9ac4d7c5daff5698286ed73f5ca1db33c32 (diff)
also move cursor
Diffstat (limited to 'editor/editor.hpp')
-rw-r--r--editor/editor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.hpp b/editor/editor.hpp
index c3b4d2ec..a56e1fdb 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -86,7 +86,7 @@ struct editor final
const tile_editor* current() const noexcept;
void on_click(world& world, global_coords pos, int mods);
- void on_mouse_move(world& world, global_coords pos, int modifiers);
+ void on_mouse_move(world& world, global_coords& pos, int modifiers);
void on_release();
editor();