dial.py: Fix Pointer color bug.

encoder_driver
peterhinch 2023-01-15 09:23:35 +00:00
rodzic 30ffd8b23b
commit e7332ef16a
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -43,7 +43,8 @@ class Pointer:
self.color = None
def value(self, v=None, color=None):
self.color = color
if color is not None:
self.color = color
if v is not None:
if isinstance(v, complex):
l = cmath.polar(v)[0]