summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-26 14:28:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-26 14:28:32 +0200
commit6029b7938aa3cf6be507ef58ca35c0bca24b8596 (patch)
treefd59cbb7511169e6df970fbd3520e182a6fe9781 /editor/events.cpp
parent9f8ca52cd75584826b006ffdd44c3bf8afab8426 (diff)
deduplicate
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index 74ee92ec..bdaa4c97 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -33,7 +33,7 @@ void app::on_mouse_move(const mouse_move_event& event) noexcept
recalc_cursor_tile();
if (cursor.tile)
- _editor.on_mouse_move(M->world(), *cursor.tile);
+ do_mouse_move(*cursor.tile);
}
void app::on_mouse_up_down(const mouse_button_event& event, bool is_down) noexcept