Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Jun 21, 2024
1 parent d0931b0 commit 6b2b8db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wideboy/systems/scene/entity_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,15 +370,15 @@ def open(self):
def cell_color_background(self):
return (
CommonColors.COLOR_RED_DARK
if is_defined(self.value) and self.value < 50
if is_defined(self.value) and self.value < 30
else CommonColors.COLOR_GREY_DARK
)

@property
def icon_color_background(self):
return (
CommonColors.COLOR_RED
if is_defined(self.value) and self.value < 50
if is_defined(self.value) and self.value < 30
else CommonColors.COLOR_GREY
)

Expand All @@ -400,15 +400,15 @@ def open(self):
def cell_color_background(self):
return (
CommonColors.COLOR_RED_DARK
if is_defined(self.value) and self.value < 50
if is_defined(self.value) and self.value < 30
else CommonColors.COLOR_GREY_DARK
)

@property
def icon_color_background(self):
return (
CommonColors.COLOR_RED
if is_defined(self.value) and self.value < 50
if is_defined(self.value) and self.value < 30
else CommonColors.COLOR_GREY
)

Expand Down

0 comments on commit 6b2b8db

Please sign in to comment.