Looper: stomp-style Reset button; reset on engine stop
Reset now renders as an LED + footswitch like the other transport buttons — its LED lights whenever there's something to reset (any non-clear state), driven off a phase didSet. Add a Pedal.engineDidStop() hook, invoked for every pedal by a new ShoeGaze.stopEngine() that the user-facing Stop control now calls (transient stop-around-rebuild sequences still call engine.stop() directly, so pedals keep state across a restart). LooperPedal overrides it to return to the clear state, post to LyrebirdMessageCenter, and briefly show "Looper reset — engine stopped." on its own card via the state indicator. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -190,7 +190,7 @@ public struct EngineConfigView: View {
|
||||
}
|
||||
|
||||
private func stopEngine() {
|
||||
shoeGaze.engine.stop()
|
||||
shoeGaze.stopEngine()
|
||||
transportTick.toggle()
|
||||
onConfigApplied()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user