mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Filter out problematic shortcut keys
This commit is contained in:
1 parent
07df47de07
commit
b5bc36a37f
2 files changed
+21
-1
No files matched your search
+2
-1
@@ -825,7 +825,8 @@ bool SearchBar::Touch(const TouchInput &input) {
|
||||
// for the user to be able to get out of searches without knowing ESC (or backspacing the whole search string).
|
||||
if (input.flags & TouchInputFlags::DOWN) {
|
||||
if (bounds_.Contains(input.x, input.y)) {
|
||||
OnCancel.Trigger(UI::EventParams{this});
|
||||
UI::EventParams params{this};
|
||||
OnCancel.Trigger(params);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user