diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 14:28:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 14:28:32 +0200 |
commit | 6029b7938aa3cf6be507ef58ca35c0bca24b8596 (patch) | |
tree | fd59cbb7511169e6df970fbd3520e182a6fe9781 | |
parent | 9f8ca52cd75584826b006ffdd44c3bf8afab8426 (diff) |
deduplicate
-rw-r--r-- | editor/events.cpp | 2 |
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 |