File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -5995,22 +5995,25 @@ void WindowSettings::UpdatePageResetConfirm()
59955995 }
59965996
59975997 // Show Quick-Start Guide
5998- static float button_quick_start_width = -1 .0f ;
5999- const bool button_quick_start_enabled = ConfigManager::GetValue (configid_bool_interface_quick_start_hidden);
5998+ if (!UIManager::Get ()->IsInDesktopMode ())
5999+ {
6000+ static float button_quick_start_width = -1 .0f ;
6001+ const bool button_quick_start_enabled = ConfigManager::GetValue (configid_bool_interface_quick_start_hidden);
60006002
6001- ImGui::SameLine (ImGui::GetContentRegionAvail ().x - button_quick_start_width);
6003+ ImGui::SameLine (ImGui::GetContentRegionAvail ().x - button_quick_start_width);
60026004
6003- if (!button_quick_start_enabled)
6004- ImGui::PushItemDisabled ();
6005+ if (!button_quick_start_enabled)
6006+ ImGui::PushItemDisabled ();
60056007
6006- if (ImGui::Button (TranslationManager::GetString (tstr_SettingsTroubleshootingSettingsResetShowQuickStart)))
6007- {
6008- UIManager::Get ()->GetAuxUI ().GetQuickStartWindow ().Reset ();
6009- }
6010- button_quick_start_width = ImGui::GetItemRectSize ().x ;
6008+ if (ImGui::Button (TranslationManager::GetString (tstr_SettingsTroubleshootingSettingsResetShowQuickStart)))
6009+ {
6010+ UIManager::Get ()->GetAuxUI ().GetQuickStartWindow ().Reset ();
6011+ }
6012+ button_quick_start_width = ImGui::GetItemRectSize ().x ;
60116013
6012- if (!button_quick_start_enabled)
6013- ImGui::PopItemDisabled ();
6014+ if (!button_quick_start_enabled)
6015+ ImGui::PopItemDisabled ();
6016+ }
60146017}
60156018
60166019void WindowSettings::PageGoForward (WindowSettingsPage new_page)
You can’t perform that action at this time.
0 commit comments