From d6e32a83a81c9e314597952bbb78b44773655177 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Tue, 22 Apr 2025 12:26:59 +0200 Subject: [PATCH] update allowed resolutions --- utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.py b/utils/utils.py index 2258068..cb85874 100644 --- a/utils/utils.py +++ b/utils/utils.py @@ -65,7 +65,7 @@ def on_exception(*exc_info): logging.error(f"Unhandled exception:\n{''.join(traceback.format_exception(exc_info[1], limit=None))}") def get_closest_resolution(): - allowed_resolutions = [(800, 600), (1024, 768), (1280, 720), (1366, 768), (1440, 900), (1600,900), (1920,1080), (2560,1440), (3840,2160)] + allowed_resolutions = [(1366, 768), (1440, 900), (1600,900), (1920,1080), (2560,1440), (3840,2160)] screen_width, screen_height = arcade.get_screens()[0].width, arcade.get_screens()[0].height if (screen_width, screen_height) in allowed_resolutions: if not allowed_resolutions.index((screen_width, screen_height)) == 0: