Force write screen on side animation cancel

.
This commit is contained in:
Ben V. Brown
2023-07-21 18:13:00 +10:00
parent 3347bc6bde
commit c85fa4affa
3 changed files with 7 additions and 3 deletions

View File

@@ -183,8 +183,7 @@ OperatingMode gui_SettingsMenu(const ButtonState buttons, guiContext *cxt) {
cxt->transitionMode = TransitionAnimation::Left;
return OperatingMode::HomeScreen;
} else {
(*subEntry) = 0;
(*mainEntry) += 1;
(*subEntry) = 0; // Reset back to the main menu
}
// When we exit a list we want to animate to the left
cxt->transitionMode = TransitionAnimation::Left;