let Ample do the resolution scaling math.

This commit is contained in:
Kelvin Sherlock committed 2023-11-17 17:14:24 -05:00
1 parent cbf3fd5a34
commit c1ecb40cdb
80 files changed
+90 -82

No files matched your search

+2 -2
View File
@@ -612,8 +612,8 @@ def find_machine_resolution(machine):
# raster screens have a default aspect ratio of 4 : 3
# pre-calc something like that, but integer-based.
hscale = round((width * 3 / 4 ) / height)
if hscale < 1 : hscale = 1
#hscale = round((width * 3 / 4 ) / height)
#if hscale < 1 : hscale = 1
return [width, height * hscale]