From abc8b7571d3bd72a89e6c8342e31963da153f2cf Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Fri, 25 Oct 2024 22:10:14 +0200 Subject: [PATCH] reset clears lock --- src/editor.rs | 1 - src/lib.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.rs b/src/editor.rs index 471c9c9..e47bab8 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -753,7 +753,6 @@ impl ActionTrigger { path.close(); // Determine the paint color based on the state - let paint = match ( self.is_learning(), self.params.global.mute_is_toggle.value(), diff --git a/src/lib.rs b/src/lib.rs index 317728b..97e5581 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -743,6 +743,7 @@ impl Del2 { self.enabled_actions.store(MUTE_IN, false); self.enabled_actions.store(MUTE_OUT, false); } + self.enabled_actions.store(LOCK_TAPS, false); self.delay_data.current_tap = 0; self.timing_last_event = timing; self.counting_state = CountingState::CountingInBuffer;