diff options
Diffstat (limited to 'cameltris/player.py')
-rw-r--r-- | cameltris/player.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cameltris/player.py b/cameltris/player.py index 88d62d4..cc7c11a 100644 --- a/cameltris/player.py +++ b/cameltris/player.py @@ -228,7 +228,7 @@ class Player: def refresh_piece_preview_canvas(self) -> None: """ Refresh the display of the next piece """ - self.piece_preview_canvas.fill(Color.black.value) + self.piece_preview_canvas.fill(Color.BLACK.value) non_empty_rows = list() for row in self.next_piece.elements: @@ -259,7 +259,7 @@ class Player: assert self.current_piece.coord is not None - self.grid_canvas.fill(Color.black.value) + self.grid_canvas.fill(Color.BLACK.value) for row_idx, row in enumerate(self.playfield.grid): for col_idx, element in enumerate(row): |