less lag
This commit is contained in:
parent
c2ff751f83
commit
aab043f4c6
@ -75,7 +75,7 @@ class StockTicker():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
def setImage(self, image, offset_x = 0, offset_y = 0, unsafe=False, min_x = 0, max_x = 128, min_y = 0, max_y = 32):
|
def setImage(self, image, offset_x = 0, offset_y = 0, unsafe=True, min_x = 0, max_x = 128, min_y = 0, max_y = 32):
|
||||||
|
|
||||||
|
|
||||||
if (image.mode != "RGB"):
|
if (image.mode != "RGB"):
|
||||||
@ -1684,10 +1684,10 @@ class StockTicker():
|
|||||||
self.delay = 0.03
|
self.delay = 0.03
|
||||||
|
|
||||||
elif msg == 'm':
|
elif msg == 'm':
|
||||||
self.delay = 0.01
|
self.delay = 0.02
|
||||||
|
|
||||||
elif msg == 'f':
|
elif msg == 'f':
|
||||||
self.delay = 0.005
|
self.delay = 0.01
|
||||||
|
|
||||||
|
|
||||||
elif msg in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: # birghtness ettings
|
elif msg in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: # birghtness ettings
|
||||||
|
Loading…
Reference in New Issue
Block a user