diff --git a/menus/settings.py b/menus/settings.py index e8e5ea4..e8737cf 100644 --- a/menus/settings.py +++ b/menus/settings.py @@ -2,7 +2,7 @@ import copy, pypresence, json, os import arcade, arcade.gui -from utils.constants import button_style, dropdown_style, slider_style, settings, discord_presence_id +from utils.constants import button_style, dropdown_style, slider_style, settings, discord_presence_id, settings_start_category from utils.utils import FakePyPresence from utils.preload import button_texture, button_hovered_texture @@ -25,7 +25,7 @@ class Settings(arcade.gui.UIView): self.on_radiobuttons = {} self.off_radiobuttons = {} - self.current_category = "Mandelbrot" + self.current_category = settings_start_category self.modified_settings = {} @@ -54,7 +54,7 @@ class Settings(arcade.gui.UIView): self.display_categories() - self.display_category("Mandelbrot") + self.display_category(settings_start_category) def display_categories(self): for category in settings: diff --git a/pyproject.toml b/pyproject.toml index a907d07..939a9dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,4 +7,4 @@ requires-python = ">=3.11" dependencies = ["arcade", "pypresence>=4.3.0"] [tool.uv.sources] -arcade = { git = "https://github.com/pythonarcade/arcade.git", rev = "gui/controller" } +arcade = { git = "https://github.com/pythonarcade/arcade.git", rev = "development" } diff --git a/requirements.txt b/requirements.txt index 261a28a..5f9d423 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ Pillow -git+https://github.com/pythonarcade/arcade.git@gui/controller +git+https://github.com/pythonarcade/arcade.git@development pypresence diff --git a/utils/constants.py b/utils/constants.py index eb482b0..a0a33d9 100644 --- a/utils/constants.py +++ b/utils/constants.py @@ -43,3 +43,4 @@ settings = { }, "Credits": {} } +settings_start_category = "Mandelbrot" diff --git a/uv.lock b/uv.lock index c916ca6..a305ddb 100644 --- a/uv.lock +++ b/uv.lock @@ -5,7 +5,7 @@ requires-python = ">=3.11" [[package]] name = "arcade" version = "3.1.0" -source = { git = "https://github.com/pythonarcade/arcade.git?rev=gui%2Fcontroller#ed17c937dd6fa7ebc59a2f56971fe1e2596ad46e" } +source = { git = "https://github.com/pythonarcade/arcade.git?rev=development#a17e95502bc0c7cd0527445e62bff84a49183c43" } dependencies = [ { name = "pillow" }, { name = "pyglet" }, @@ -78,7 +78,7 @@ dependencies = [ [package.metadata] requires-dist = [ - { name = "arcade", git = "https://github.com/pythonarcade/arcade.git?rev=gui%2Fcontroller" }, + { name = "arcade", git = "https://github.com/pythonarcade/arcade.git?rev=development" }, { name = "pypresence", specifier = ">=4.3.0" }, ]