Skip to content

Commit e3316bd

Browse files
committed
Fix scroll out bug
1 parent 77b3ce0 commit e3316bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

led_effects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def scrollMatrix(self, matrix, speed=100, scroll_out=True,
7474
sleep(1 / speed)
7575
# then scroll out to the left:
7676
if scroll_out:
77-
for i in range(1, self.W):
77+
for i in range(1, self.W+1):
7878
output_function(
7979
np.concatenate((matrix[:, mw - self.W + i:], np.zeros((h, i), dtype=bool)), axis=1))
8080
sleep(1 / speed)

0 commit comments

Comments
 (0)