0.41.1 (77): iOS controls redraw when the song changes
The Mix record bar, the Sampler waveform page, the LFO target picker and the audition keyboards read the session but had no changing inputs, so SwiftUI skipped redrawing them until something else (rotation) forced it. They now observe MixSongWatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
cdabf3018b
commit
634dd05486
@@ -315,6 +315,9 @@ private struct PresetBar: View {
|
||||
/// LfoTargetPicker: every numeric parameter of every other filled slot; choosing
|
||||
/// one makes the LFO drive it (the parameter's value now is the centre).
|
||||
private struct LfoTargetPicker: View {
|
||||
/// Redraw when the song changes: these inputs alone never change, so SwiftUI
|
||||
/// would otherwise keep showing the old state.
|
||||
@ObservedObject private var watch = MixSongWatch.shared
|
||||
let lfo: Int
|
||||
|
||||
private struct Target: Hashable {
|
||||
|
||||
Reference in New Issue
Block a user