fixing issue with imports and changing direction for scrolling with click wheel.

This commit is contained in:
Lucas Oskorep
2022-09-19 23:23:59 -04:00
parent 3a72054866
commit d95d351bfd
4 changed files with 4 additions and 5 deletions
-1
View File
@@ -199,7 +199,6 @@ class App(object):
self._key_lights[key_value] = color
def set_colors(self, colors) -> None:
print(time.time())
if len(colors) != 12:
raise ValueError("Colors must be passed in as a 12 len array")
for color in colors:
-1
View File
@@ -1,3 +1,2 @@
from .static_lighting import *
from .sound_patterns import *
from .helpers import *
+2 -2
View File
@@ -204,7 +204,7 @@ class OptionsApp(App):
def on_wheel_change(self, event):
if event > 0:
self._up()
else:
self._down()
else:
self._up()
self.update_settings_menu()