UI: Allow UI keys on emuscreen of focused.

This is only if you already focus something.
This commit is contained in:
Unknown W. Brackets committed 2021-09-12 19:41:47 -07:00
1 parent db21d0e7fc
commit 96fd29c86f
1 file changed
+6
+6
View File
@@ -728,6 +728,12 @@ void EmuScreen::onVKeyUp(int virtualKeyCode) {
bool EmuScreen::key(const KeyInput &key) {
Core_NotifyActivity();
if (UI::IsFocusMovementEnabled()) {
if (UIScreen::key(key)) {
return true;
}
}
return controlMapper_.Key(key, &pauseTrigger_);
}