Add convenient UI on the pause screen for changing/locking the screen orientation

This commit is contained in:
Henrik Rydgård committed 2025-11-26 11:14:37 +01:00
1 parent 9035485abf
commit ed25b5e991
21 files changed
+247 -87

No files matched your search

+1 -1
View File
@@ -1206,7 +1206,7 @@ void MainScreen::CreateMainButtons(UI::ViewGroup *parent, bool portrait) {
gold->OnClick.Add([this](UI::EventParams &) {
LaunchBuyGold(this->screenManager());
});
gold->SetIcon(ImageID("I_ICON_GOLD"), 0.5f);
gold->SetIconRight(ImageID("I_ICON_GOLD"), 0.5f);
gold->SetImageScale(0.6f); // for the left-icon in case of vertical.
gold->SetShine(true);
}