Skip to content

Commit

Permalink
Account for the screen gap being scaled with the window size
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Sep 25, 2022
1 parent 8678673 commit 37e5e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 37e5e2c

Please sign in to comment.