Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Nov 22, 2023
1 parent 8239343 commit ed15976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions wideboy/scenes/default/tile_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def label(self):


class BaseCellTemperate(GridCell):
width = 60

@property
def label(self):
return f"{round(self.value)}°"
Expand Down
1 change: 0 additions & 1 deletion wideboy/sprites/tile_grid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ed15976

Please sign in to comment.