fix fullscreen not working

This commit is contained in:
csd4ni3l
2025-05-02 09:06:09 +02:00
parent 6f05b113dc
commit b4d343fdd0

2
run.py
View File

@@ -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']