mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 19:53:48 +01:00
Fix check for top screen. Fixes a problem with input focus after game reset.
Reported by Flide, thanks! However, there's some underlying bug in screen focus tracking, this just works around it by checking for top screen in a more reliable way.
This commit is contained in:
1 parent
6066017019
commit
e80c67df25
6 files changed
+12
-12
No files matched your search
@@ -264,6 +264,10 @@ void UIDialogScreen::sendMessage(UIMessage message, const char *value) {
|
||||
}
|
||||
}
|
||||
|
||||
bool UIScreen::IsOnTop() const {
|
||||
return screenManager()->topScreen() == this;
|
||||
}
|
||||
|
||||
void UIScreen::OnBack(UI::EventParams &e) {
|
||||
TriggerFinish(DR_BACK);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user