forked from andreeuuetoa/litsimaja
Fixed bug where new loops were being added on top of the running program.
This commit is contained in:
@@ -25,6 +25,7 @@ class Litsimaja(object):
|
|||||||
self._strip.show()
|
self._strip.show()
|
||||||
|
|
||||||
def add_loop(self, loop: LoopSwitch):
|
def add_loop(self, loop: LoopSwitch):
|
||||||
|
self.clear_loops()
|
||||||
self._loops.append(loop)
|
self._loops.append(loop)
|
||||||
|
|
||||||
def clear_loops(self):
|
def clear_loops(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user