winport - fix hd prescale vs gap (#1505)

This commit is contained in:
zeromus 2015-09-18 17:34:55 +00:00
parent 81dae68652
commit 81d5f697c1
2 changed files with 2 additions and 1 deletions

View File

@ -3164,6 +3164,7 @@ int _main()
SetMinWindowSize(); SetMinWindowSize();
//BUGZOOM
ScaleScreen(windowSize, false); ScaleScreen(windowSize, false);
DragAcceptFiles(MainWindow->getHWnd(), TRUE); DragAcceptFiles(MainWindow->getHWnd(), TRUE);

View File

@ -311,6 +311,6 @@ public:
} }
int scaledscreengap() { int scaledscreengap() {
return screengap * height / (384 * prescaleHD); return screengap * height / 384;
} }
}; };