tick once before starting
This commit is contained in:
parent
3d017e1ec7
commit
6ee892d23b
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ class LightStrip:
|
|||
np = self.np
|
||||
t = self.cur_tick
|
||||
n = np.n
|
||||
|
||||
if not len(self.cur_pattern) >= n - 1:
|
||||
self.get_next_pattern_tick()
|
||||
changes = 0
|
||||
ind = self.cur_index
|
||||
for i in range(ind, n):
|
||||
|
|
Loading…
Reference in a new issue