Fix mouse hover in SDL builds

This commit is contained in:
Henrik Rydgård committed 2024-11-06 22:09:53 +01:00
1 parent dff7f5704a
commit f0ae048d21
3 files changed
+16 -11

No files matched your search

+2 -2
View File
@@ -1149,8 +1149,8 @@ void TouchTestScreen::touch(const TouchInput &touch) {
found = true;
}
}
if (!found) {
WARN_LOG(Log::System, "Move without touch down: %d", touch.id);
if (!found && touch.buttons) {
WARN_LOG(Log::System, "Move with buttons %d without touch down: %d", touch.buttons, touch.id);
}
}
if (touch.flags & TOUCH_UP) {