Base size on height
This commit is contained in:
parent
2646f333b3
commit
36e9099fca
@ -84,8 +84,8 @@ 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
|
||||||
width = gtk.gdk.screen_width() - 50
|
height = gtk.gdk.screen_height() - 50
|
||||||
height = width / 4 * 3
|
width = height * 4 / 3
|
||||||
|
|
||||||
emulator = Emulator(width, height, fullscreen)
|
emulator = Emulator(width, height, fullscreen)
|
||||||
emulator.start()
|
emulator.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user