Try to avoid having the back button cut off by the top edge of the screen

This commit is contained in:
Henrik Rydgård committed 2025-11-25 15:46:33 +01:00
1 parent 21d812772b
commit 213436013f
1 file changed
+1 -1
+1 -1
View File
@@ -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.