Filter out problematic shortcut keys

This commit is contained in:
Henrik Rydgård committed 2026-04-14 19:44:20 -06:00
1 parent 07df47de07
commit b5bc36a37f
2 files changed
+21 -1

No files matched your search

+2 -1
View File
@@ -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;
}
}