Skip to content

Commit

Permalink
Fixed HASS entity row padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Aug 2, 2023
1 parent ffd240b commit d8187a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wideboy/sprites/homeassistant/entity_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ def render_hass_tile(
surface = Surface((w + padding_right, h), SRCALPHA)
x = 0
if icon_surface is not None:
surface.blit(icon_surface, (x, -1))
surface.blit(icon_surface, (x, 0))
x += icon_surface.get_rect().width
if label_surface is not None:
surface.blit(label_surface, (x, -2))
surface.blit(label_surface, (x, -1))
x += label_surface.get_rect().width
return surface

0 comments on commit d8187a4

Please sign in to comment.