mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
Fixes issue with touch on Windows mentioned in #14387 Also includes a warning fix.
This commit is contained in:
1 parent
87d4833d89
commit
bfee168175
4 files changed
+5
-4
No files matched your search
@@ -222,7 +222,7 @@ PopupScreen::PopupScreen(std::string title, std::string button1, std::string but
|
||||
}
|
||||
|
||||
bool PopupScreen::touch(const TouchInput &touch) {
|
||||
if (!box_ || (touch.flags & TOUCH_DOWN) == 0 || touch.id != 0) {
|
||||
if (!box_ || (touch.flags & TOUCH_DOWN) == 0) {
|
||||
return UIDialogScreen::touch(touch);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user