Skip to content

Commit

Permalink
fix(UI-UX): fix Main Menu Button on end screen [TTTK-76]
Browse files Browse the repository at this point in the history
  • Loading branch information
HOOK-Hawkins committed Mar 14, 2024
1 parent a761b41 commit e8ab224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/endscreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _create_widgets(self, win:bool):
message = "You won the game!" if win else "You lost the game!"
self.lblWinner = tk.Label(self, width=20, height=5, bg="white", text=message)
#self.btnPlayAgain = tk.Button(self, width=20, height=5, text="Play Again", command=lambda: self.master.show(Field))
self.btnMainMenu = tk.Button(self, text="Main Menu", width=20, height=5, command=lambda: self.master.show_menu)
self.btnMainMenu = tk.Button(self, text="Main Menu", width=20, height=5, command=lambda: self.master.show_menu())

def _display_widgets(self):
self.lblWinner.pack()
Expand Down

0 comments on commit e8ab224

Please sign in to comment.