Account for the screen gap being scaled with the window size

Fixes #1430
This commit is contained in:
Nadia Holmquist Pedersen 2022-09-25 20:48:40 +02:00
parent 86786738cc
commit 37e5e2c3c0
1 changed files with 1 additions and 1 deletions

View File

@ -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;