mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Fix audio focus issue by tracking the cause of lost focus.
Fixes #21643
This commit is contained in:
1 parent
d4bd7c604c
commit
3a599c4714
16 files changed
+95
-70
No files matched your search
@@ -46,7 +46,7 @@ void UIScreen::DoRecreateViews() {
|
||||
CreateViews();
|
||||
UI::View *defaultView = root_ ? root_->GetDefaultFocusView() : nullptr;
|
||||
if (defaultView && defaultView->GetVisibility() == UI::V_VISIBLE) {
|
||||
defaultView->SetFocus();
|
||||
defaultView->SetFocus(UI::FocusFlags::CAUSE_OTHER);
|
||||
}
|
||||
recreateViews_ = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user