I like my points to float

This commit is contained in:
XANTRONIX Development 2024-01-08 22:30:46 -05:00
parent 68fc2ac160
commit 0e9e518736

View file

@ -36,7 +36,7 @@ class Thermometer(BottomDial):
cr.set_line_width(6.0)
level = self.min_value
incr = math.ceil((self.max_value - self.min_value) / 9)
incr = math.ceil((self.max_value - self.min_value) / 9.0)
while level <= self.max_value:
if level >= self.WARN_VALUE: