Fixed bug where new loops were being added on top of the running program.

This commit is contained in:
psannus
2021-02-25 21:34:10 +02:00
parent 9e9617468e
commit 6edc15e4af

View File

@@ -25,6 +25,7 @@ class Litsimaja(object):
self._strip.show()
def add_loop(self, loop: LoopSwitch):
self.clear_loops()
self._loops.append(loop)
def clear_loops(self):