summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-25 00:29:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-25 00:29:43 +0100
commit8b7af89b78cacf2e171e2b73fc508704ea79c316 (patch)
treeed0914b105530c682991eee6edeb4d50d1536e09 /editor/update.cpp
parent56b5489bdea839eb24165a86e937a29b9a42a39f (diff)
main, editor: set cursor from imgui
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 972af56e..3c8f45fe 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -167,7 +167,7 @@ void app::update(float dt)
if ([[maybe_unused]] clickable_scenery* s = find_clickable_scenery(cursor.pixel))
M->set_cursor(std::uint32_t(Cursor::Hand));
else
- M->set_cursor(std::uint32_t(Cursor::Arrow));
+ set_cursor_from_imgui();
}
} // namespace floormat