Mods
This commit is contained in:
parent
7d62509aac
commit
0721e95a90
|
@ -56,7 +56,9 @@ class Config:
|
||||||
merge_goal: int = 10
|
merge_goal: int = 10
|
||||||
manifest_path: Path
|
manifest_path: Path
|
||||||
manifest: dict[str, str]
|
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
|
@staticmethod
|
||||||
def prepare() -> None:
|
def prepare() -> None:
|
||||||
|
|
|
@ -452,10 +452,10 @@ class Game:
|
||||||
|
|
||||||
def make(text: str, enabled: bool) -> QAction:
|
def make(text: str, enabled: bool) -> QAction:
|
||||||
if enabled:
|
if enabled:
|
||||||
icon = "✅"
|
icon = Config.icon_on
|
||||||
word = "On"
|
word = "On"
|
||||||
else:
|
else:
|
||||||
icon = "❌"
|
icon = Config.icon_off
|
||||||
word = "Off"
|
word = "Off"
|
||||||
|
|
||||||
return QAction(f"{icon} {text} {word}")
|
return QAction(f"{icon} {text} {word}")
|
||||||
|
|
Loading…
Reference in New Issue