summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index 821c9c4d..fc55cca2 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -175,13 +175,13 @@ void app::on_viewport_event(const Math::Vector2<int>& size) noexcept
void app::on_focus_out() noexcept
{
- update_cursor_tile(std::nullopt);
+ update_cursor_tile(NullOpt);
clear_keys();
}
void app::on_mouse_leave() noexcept
{
- update_cursor_tile(std::nullopt);
+ update_cursor_tile(NullOpt);
}
void app::do_key(floormat::key k)