This commit is contained in:
Auric Vente 2024-07-22 21:18:34 -06:00
parent 7d62509aac
commit 0721e95a90
2 changed files with 5 additions and 3 deletions

View File

@ -56,7 +56,9 @@ class Config:
merge_goal: int = 10
manifest_path: Path
manifest: dict[str, str]
separator_color: str = "rgb(120, 120, 120)"
separator_color: str = "rgb(111, 111, 111)"
icon_on: str = ""
icon_off: str = ""
@staticmethod
def prepare() -> None:

View File

@ -452,10 +452,10 @@ class Game:
def make(text: str, enabled: bool) -> QAction:
if enabled:
icon = ""
icon = Config.icon_on
word = "On"
else:
icon = ""
icon = Config.icon_off
word = "Off"
return QAction(f"{icon} {text} {word}")