From ed15976c7c972933ea395a3c87efb7063c941747 Mon Sep 17 00:00:00 2001 From: Louis King Date: Wed, 22 Nov 2023 23:37:01 +0000 Subject: [PATCH] Updates --- wideboy/scenes/default/tile_grid.py | 2 ++ wideboy/sprites/tile_grid/__init__.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wideboy/scenes/default/tile_grid.py b/wideboy/scenes/default/tile_grid.py index 6537ad3..1b78028 100644 --- a/wideboy/scenes/default/tile_grid.py +++ b/wideboy/scenes/default/tile_grid.py @@ -249,6 +249,8 @@ def label(self): class BaseCellTemperate(GridCell): + width = 60 + @property def label(self): return f"{round(self.value)}°" diff --git a/wideboy/sprites/tile_grid/__init__.py b/wideboy/sprites/tile_grid/__init__.py index 872256b..e0ff27d 100644 --- a/wideboy/sprites/tile_grid/__init__.py +++ b/wideboy/sprites/tile_grid/__init__.py @@ -62,7 +62,6 @@ class TileGridCell(pygame.sprite.Sprite, StyleMixin): style: Dict width: int = TILE_GRID_CELL_WIDTH height: int = TILE_GRID_CELL_HEIGHT - visible: bool = True label: str = "" def __init__(self, state):