From da69631f34b1a1779707ed58245fb1d981418cce Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 30 Apr 2024 23:14:06 +0200 Subject: [PATCH] Fix coverage build composite loop behavior (#379) --- src/shoopdaloop/lib/q_objects/CompositeLoop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shoopdaloop/lib/q_objects/CompositeLoop.py b/src/shoopdaloop/lib/q_objects/CompositeLoop.py index 29a36c27fa..bb3434b8b7 100644 --- a/src/shoopdaloop/lib/q_objects/CompositeLoop.py +++ b/src/shoopdaloop/lib/q_objects/CompositeLoop.py @@ -442,6 +442,7 @@ def transition_with_immediate_sync_impl(self, mode, sync_cycle): self.mode = mode self.iteration = sync_cycle self.update_length() + self.update_position() self.logger.trace(lambda: f'immediate sync: Done - mode -> {mode}, iteration -> {sync_cycle}, position -> {self._position}') # Perform the trigger(s) for the next loop cycle