Skip to content

Commit 0924a3a

Browse files
committed
Fixed launchpad note reset bug
1 parent 20dc941 commit 0924a3a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

midimech.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ def reset_launchpad_light(self, x, y):
306306
light_col = self.options.lights[note]
307307
# else:
308308
# light_col = self.options.lights[note]
309+
if self.scale_notes[note] == '.':
310+
light_col = 7
309311
self.set_launchpad_light(x, y, light_col)
310312

311313
def set_red_light(self, x, y, state=True):

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pygame
1+
pygame-ce
22
pygame_gui
33
pyglm
44
rtmidi2

0 commit comments

Comments
 (0)