winport - fix hd prescale vs gap (#1505)
This commit is contained in:
parent
81dae68652
commit
81d5f697c1
|
@ -3164,6 +3164,7 @@ int _main()
|
||||||
|
|
||||||
SetMinWindowSize();
|
SetMinWindowSize();
|
||||||
|
|
||||||
|
//BUGZOOM
|
||||||
ScaleScreen(windowSize, false);
|
ScaleScreen(windowSize, false);
|
||||||
|
|
||||||
DragAcceptFiles(MainWindow->getHWnd(), TRUE);
|
DragAcceptFiles(MainWindow->getHWnd(), TRUE);
|
||||||
|
|
|
@ -311,6 +311,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
int scaledscreengap() {
|
int scaledscreengap() {
|
||||||
return screengap * height / (384 * prescaleHD);
|
return screengap * height / 384;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue