Fix issue 338: UI scale should stay the same regardless of pixel scale
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1621 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
db8bde5ba6
commit
6d059e7234
@ -522,6 +522,8 @@ try_again:
|
||||
Menu_factor_Y=1;
|
||||
break;
|
||||
default: // Stay below some reasonable size
|
||||
if (factor>Max(Pixel_width,Pixel_height))
|
||||
factor/=Max(Pixel_width,Pixel_height);
|
||||
Menu_factor_X=Min(factor,abs(Config.Ratio));
|
||||
Menu_factor_Y=Min(factor,abs(Config.Ratio));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user