Mods
This commit is contained in:
parent
8807a49e88
commit
3cf6db946b
|
@ -27,7 +27,7 @@ class Config:
|
||||||
loop_delay_slow: int = 60_000
|
loop_delay_slow: int = 60_000
|
||||||
hatch_burst: int = 3
|
hatch_burst: int = 3
|
||||||
font_size: int = 20
|
font_size: int = 20
|
||||||
footer_font_size: int = 18
|
info_separator: str = " - "
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def prepare() -> None:
|
def prepare() -> None:
|
||||||
|
|
|
@ -191,5 +191,5 @@ class Game:
|
||||||
if hits:
|
if hits:
|
||||||
text.append(f"Hits:{nb}{hits.name}")
|
text.append(f"Hits:{nb}{hits.name}")
|
||||||
|
|
||||||
Window.info.setText(" | ".join(text))
|
Window.info.setText(Config.info_separator.join(text))
|
||||||
Window.info.adjustSize()
|
Window.info.adjustSize()
|
||||||
|
|
|
@ -187,7 +187,7 @@ class Window:
|
||||||
Window.info = SpecialButton("---")
|
Window.info = SpecialButton("---")
|
||||||
Window.info.setToolTip("Scroll to the bottom")
|
Window.info.setToolTip("Scroll to the bottom")
|
||||||
Window.info.clicked.connect(Window.to_bottom)
|
Window.info.clicked.connect(Window.to_bottom)
|
||||||
Window.expand(Window.info)
|
Window.info.setMinimumSize(35, 35)
|
||||||
container.addWidget(Window.info)
|
container.addWidget(Window.info)
|
||||||
root.setLayout(container)
|
root.setLayout(container)
|
||||||
Window.root.addWidget(root)
|
Window.root.addWidget(root)
|
||||||
|
|
Loading…
Reference in New Issue