mirror of
https://github.com/csd4ni3l/fractal-viewer.git
synced 2026-01-01 04:13:41 +01:00
fix fullscreen not working
This commit is contained in:
2
run.py
2
run.py
@@ -40,7 +40,7 @@ if os.path.exists('settings.json'):
|
|||||||
else:
|
else:
|
||||||
antialiasing = 0
|
antialiasing = 0
|
||||||
|
|
||||||
fullscreen = settings['window_mode'] == 'fullscreen'
|
fullscreen = settings['window_mode'] == 'Fullscreen'
|
||||||
style = arcade.Window.WINDOW_STYLE_BORDERLESS if settings['window_mode'] == 'borderless' else arcade.Window.WINDOW_STYLE_DEFAULT
|
style = arcade.Window.WINDOW_STYLE_BORDERLESS if settings['window_mode'] == 'borderless' else arcade.Window.WINDOW_STYLE_DEFAULT
|
||||||
vsync = settings['vsync']
|
vsync = settings['vsync']
|
||||||
fps_limit = settings['fps_limit']
|
fps_limit = settings['fps_limit']
|
||||||
|
|||||||
Reference in New Issue
Block a user