reworked interface - now acrylic

This commit is contained in:
BarsTiger
2022-05-19 19:40:36 +03:00
parent f09c425a83
commit 2de68dbad7
7 changed files with 176 additions and 148 deletions

View File

@@ -19,13 +19,11 @@ class Settings:
def get_settings() -> dict:
try:
with open("data/settings.json", "r") as file:
settings = json.load(file)
except FileNotFoundError | json.decoder.JSONDecodeError | KeyError | ValueError | TypeError:
return json.load(file)
except:
Settings.fix()
Settings.get_settings()
return settings
@staticmethod
def animation() -> dict:
from PyQt5.QtCore import QEasingCurve