File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -980,9 +980,11 @@ void FullscreenUI::OnSystemStarting()
980980 if (!IsInitialized ())
981981 return ;
982982
983- s_state.current_main_window = MainWindowType::None;
984- QueueResetFocus (FocusResetType::ViewChanged);
985- UpdateRunIdleState ();
983+ BeginTransition (LONG_TRANSITION_TIME, []() {
984+ s_state.current_main_window = MainWindowType::None;
985+ QueueResetFocus (FocusResetType::ViewChanged);
986+ UpdateRunIdleState ();
987+ });
986988 });
987989}
988990
@@ -1031,7 +1033,7 @@ void FullscreenUI::OnSystemDestroyed()
10311033 s_state.pause_menu_was_open = false ;
10321034 s_state.was_paused_on_quick_menu_open = false ;
10331035 s_state.current_pause_submenu = PauseSubMenu::None;
1034- ReturnToMainWindow ();
1036+ ReturnToMainWindow (LONG_TRANSITION_TIME );
10351037 });
10361038}
10371039
You can’t perform that action at this time.
0 commit comments