- undo the change from last commit for 5:4 monitors - turns out the scale is calculated differently for 1280x1024 and needs the buggy version to work correctly.

This commit is contained in:
Rachael Alexanderson 2020-03-22 07:23:13 -04:00
parent e7bad7218f
commit 442bead31b

View file

@ -486,7 +486,7 @@ void DBaseStatusBar::SetScale ()
ST_X = 0;
// this was far more obtuse before...
double height4_3 = h * aspect / (4 / 3);
double height4_3 = h * aspect / 1.333;
SBarTop = int(h - height4_3 + sby * height4_3 / VerticalResolution);
}
Displacement = 0;