diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2022-09-25 20:48:40 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2022-09-25 20:48:40 +0200 |
commit | 37e5e2c3c05c815a1672f22f9db521a411e0132a (patch) | |
tree | 4ba30da1ed85f8fe8f982abe20831cab4376710e /src/frontend/qt_sdl | |
parent | 86786738cc91dbea5f9dcdf0e147bd6615e1ca46 (diff) |
Account for the screen gap being scaled with the window size
Fixes #1430
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 0012ff0..97b78fc 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; |