update arcade dependency to development branch, add setting start

settings start category constant
This commit is contained in:
csd4ni3l
2025-05-14 15:31:36 +02:00
parent 431cd359cd
commit 38541091bf
5 changed files with 123 additions and 122 deletions

View File

@@ -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, theme_sound
@@ -25,7 +25,7 @@ class Settings(arcade.gui.UIView):
self.on_radiobuttons = {}
self.off_radiobuttons = {}
self.current_category = "Graphics"
self.current_category = settings_start_category
self.modified_settings = {}
@@ -54,7 +54,7 @@ class Settings(arcade.gui.UIView):
self.display_categories()
self.display_category("Graphics")
self.display_category(settings_start_category)
def display_categories(self):
for category in settings: