Do not exceed 1200x900
This commit is contained in:
parent
e1ef7398e2
commit
4c192c4c73
@ -48,7 +48,7 @@ if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height():
|
|||||||
gtk.gdk.screen_height() <= 900)
|
gtk.gdk.screen_height() <= 900)
|
||||||
else:
|
else:
|
||||||
fullscreen = False
|
fullscreen = False
|
||||||
height = gtk.gdk.screen_height() - 50
|
height = min(1200, gtk.gdk.screen_height() - 50)
|
||||||
width = height * 4 / 3
|
width = height * 4 / 3
|
||||||
|
|
||||||
emulator = Emulator(width, height, fullscreen)
|
emulator = Emulator(width, height, fullscreen)
|
||||||
|
Loading…
Reference in New Issue
Block a user