summaryrefslogtreecommitdiffhomepage
path: root/main/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-18 05:23:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-18 05:23:48 +0200
commit40510b6e50ae9dd027c55e52c91433807ddf5c39 (patch)
tree997d5100539bfd7e5cf11290e0bf8447204575c0 /main/app.cpp
parentcf14af7dc7b6ffa3ef899a57079bafc5a8d63c68 (diff)
a
Diffstat (limited to 'main/app.cpp')
-rw-r--r--main/app.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/app.cpp b/main/app.cpp
index 9fd9664d..f60b1287 100644
--- a/main/app.cpp
+++ b/main/app.cpp
@@ -81,7 +81,7 @@ void app::mouseReleaseEvent(Platform::Sdl2Application::MouseEvent& event)
void app::mouseMoveEvent(Platform::Sdl2Application::MouseMoveEvent& event)
{
- if (_imgui.handleMouseMoveEvent(event))
+ if (_imgui.handleMouseMoveEvent(event) && false)
return _cursor_tile = std::nullopt, event.setAccepted();
_cursor_pos = event.position();
@@ -114,7 +114,7 @@ void app::anyEvent(SDL_Event& event)
case SDL_WINDOWEVENT_ENTER:
return event_mouse_enter();
default:
- printf(""); break; // put breakpoint here
+ std::fputs("", stdout); break; // put breakpoint here
}
}