From 213436013fc03738b9d95a641c40a62ca2a92ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 25 Nov 2025 14:08:01 +0100 Subject: [PATCH] Try to avoid having the back button cut off by the top edge of the screen --- UI/GamepadEmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/GamepadEmu.cpp b/UI/GamepadEmu.cpp index c25c3acbbf..82797bdfb5 100644 --- a/UI/GamepadEmu.cpp +++ b/UI/GamepadEmu.cpp @@ -940,7 +940,7 @@ UI::ViewGroup *CreatePadLayout(const TouchControlConfig &config, float xres, flo }; if (showPauseButton) { - root->Add(new BoolButton(pause, "Pause button", roundImage, ImageID("I_ROUND"), ImageID("I_HAMBURGER"), 1.0f, new AnchorLayoutParams(halfW, 20, NONE, NONE, Centering::Both))); + root->Add(new BoolButton(pause, "Pause button", roundImage, ImageID("I_ROUND"), ImageID("I_HAMBURGER"), 1.0f, new AnchorLayoutParams(halfW, 28, NONE, NONE, Centering::Both))); } // touchActionButtonCenter.show will always be true, since that's the default.