From edaab592ccb954a3c095a3b2fe8b48e2fa054c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 10 Feb 2026 10:46:48 +0100 Subject: [PATCH] Pause screen: Make the run-behind play/pause button outlined, to differentiate --- UI/PauseScreen.cpp | 4 +-- UI/UIAtlas.cpp | 4 ++- assets/ui_images/images.svg | 64 +++++++++++++++++++++++-------------- 3 files changed, 45 insertions(+), 27 deletions(-) diff --git a/UI/PauseScreen.cpp b/UI/PauseScreen.cpp index 837dfcd04d..75698ce712 100644 --- a/UI/PauseScreen.cpp +++ b/UI/PauseScreen.cpp @@ -670,10 +670,10 @@ void GamePauseScreen::CreateViews() { if (middleColumn) { middleColumn->SetSpacing(portrait ? 8.0f : 0.0f); - playButton_ = middleColumn->Add(new Choice(g_Config.bRunBehindPauseMenu ? ImageID("I_PAUSE") : ImageID("I_PLAY"), new LinearLayoutParams(64, 64))); + playButton_ = middleColumn->Add(new Choice(g_Config.bRunBehindPauseMenu ? ImageID("I_PAUSE_LINE") : ImageID("I_PLAY_LINE"), new LinearLayoutParams(64, 64))); playButton_->OnClick.Add([this](UI::EventParams &e) { g_Config.bRunBehindPauseMenu = !g_Config.bRunBehindPauseMenu; - playButton_->SetIconLeft(g_Config.bRunBehindPauseMenu ? ImageID("I_PAUSE") : ImageID("I_PLAY")); + playButton_->SetIconLeft(g_Config.bRunBehindPauseMenu ? ImageID("I_PAUSE_LINE") : ImageID("I_PLAY_LINE")); }); bool mustRunBehind = MustRunBehind(); diff --git a/UI/UIAtlas.cpp b/UI/UIAtlas.cpp index 2bbee969a6..ee9fcef233 100644 --- a/UI/UIAtlas.cpp +++ b/UI/UIAtlas.cpp @@ -121,8 +121,10 @@ static const ImageMeta imageIDs[] = { {"I_ACHIEVEMENT", false}, {"I_CHECKMARK", false}, {"I_PLAY", false}, - {"I_STOP", false}, {"I_PAUSE", false}, + {"I_STOP", false}, + {"I_PLAY_LINE", false}, + {"I_PAUSE_LINE", false}, {"I_FAST_FORWARD", false}, {"I_FAST_FORWARD_LINE", false}, {"I_RECORD", false}, diff --git a/assets/ui_images/images.svg b/assets/ui_images/images.svg index 1ae85cadf1..da0fc93d01 100644 --- a/assets/ui_images/images.svg +++ b/assets/ui_images/images.svg @@ -24,9 +24,9 @@ inkscape:pagecheckerboard="true" inkscape:deskcolor="#d1d1d1" inkscape:document-units="px" - inkscape:zoom="5.656855" - inkscape:cx="359.29859" - inkscape:cy="610.32146" + inkscape:zoom="2.8284275" + inkscape:cx="86.797346" + inkscape:cy="251.19965" inkscape:window-width="3840" inkscape:window-height="2071" inkscape:window-x="-9" @@ -2839,14 +2839,14 @@ inkscape:groupmode="layer" id="layer1">