Mods
This commit is contained in:
@@ -105,11 +105,10 @@ class Game:
|
||||
|
||||
@staticmethod
|
||||
def get_image(
|
||||
image_path: Path, color: tuple[int, int, int] | None = None,
|
||||
tooltip: str = ""
|
||||
path: Path, color: tuple[int, int, int] | None = None, tooltip: str = ""
|
||||
) -> QLabel:
|
||||
image_label = QLabel()
|
||||
pixmap = QPixmap(str(image_path))
|
||||
pixmap = QPixmap(str(path))
|
||||
|
||||
scaled_pixmap = pixmap.scaled(
|
||||
Config.image_size,
|
||||
@@ -226,4 +225,4 @@ class Game:
|
||||
path = str(Config.song_path)
|
||||
Window.play_audio(path)
|
||||
|
||||
Game.playing_song = not Game.playing_song
|
||||
Game.playing_song = not Game.playing_song
|
||||
|
Reference in New Issue
Block a user