kopia lustrzana https://github.com/peterhinch/micropython-micro-gui
dial.py: Fix Pointer color bug.
rodzic
30ffd8b23b
commit
e7332ef16a
|
@ -43,6 +43,7 @@ class Pointer:
|
||||||
self.color = None
|
self.color = None
|
||||||
|
|
||||||
def value(self, v=None, color=None):
|
def value(self, v=None, color=None):
|
||||||
|
if color is not None:
|
||||||
self.color = color
|
self.color = color
|
||||||
if v is not None:
|
if v is not None:
|
||||||
if isinstance(v, complex):
|
if isinstance(v, complex):
|
||||||
|
|
Ładowanie…
Reference in New Issue