fixed
This commit is contained in:
@ -253,9 +253,12 @@ void OptionsState::toggleSmoothScroll() {
|
||||
}
|
||||
|
||||
void OptionsState::exitToMenu() {
|
||||
// Try a graceful fade transition if available, but always ensure we
|
||||
// return to the Menu state so the UI is responsive to the user's action.
|
||||
if (ctx.requestFadeTransition) {
|
||||
ctx.requestFadeTransition(AppState::Menu);
|
||||
} else if (ctx.stateManager) {
|
||||
}
|
||||
if (ctx.stateManager) {
|
||||
ctx.stateManager->setState(AppState::Menu);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user