From 37e5e2c3c05c815a1672f22f9db521a411e0132a Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 25 Sep 2022 20:48:40 +0200 Subject: [PATCH] Account for the screen gap being scaled with the window size Fixes #1430 --- src/frontend/qt_sdl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 0012ff0d..97b78fc2 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -828,7 +828,7 @@ void ScreenHandler::screenSetupLayout(int w, int h) QSize ScreenHandler::screenGetMinSize(int factor = 1) { bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3); - int gap = Config::ScreenGap; + int gap = Config::ScreenGap * factor; int w = 256 * factor; int h = 192 * factor;