From 74e2c115f915b00a06d2f70aea73125bcb5ebfac Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 30 Apr 2024 22:47:20 +0200 Subject: [PATCH] Fix coverage build composite loop behavior --- 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