mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
UI: Fix some logic dependent on screen tags.
9f38516 changed various tags but not code referencing them.
This commit is contained in:
1 parent
bf59640aa5
commit
6576b853e4
6 files changed
+10
-10
No files matched your search
+3
-2
@@ -1432,11 +1432,12 @@ UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
void MainScreen::dialogFinished(const Screen *dialog, DialogResult result) {
|
||||
if (dialog->tag() == "store") {
|
||||
std::string tag = dialog->tag();
|
||||
if (tag == "Store") {
|
||||
backFromStore_ = true;
|
||||
RecreateViews();
|
||||
}
|
||||
if (dialog->tag() == "game") {
|
||||
if (tag == "Game") {
|
||||
if (!restoreFocusGamePath_.empty() && UI::IsFocusMovementEnabled()) {
|
||||
// Prevent the background from fading, since we just were displaying it.
|
||||
highlightedGamePath_ = restoreFocusGamePath_;
|
||||
|
||||
Reference in new issue
Block a user