Skip to content

Commit

Permalink
Fix envelope type display sync problem
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Dec 28, 2024
1 parent 5fea095 commit 5d154c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/dahdsr-components.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ template <typename Comp, typename PatchPart> struct DAHDSRComponents
return;
w->showTriggerPopup();
});
setTriggerLabel();
asComp()->addAndMakeVisible(*triggerButton);
e.componentRefreshByID[v.triggerMode.meta.id] =
[w = juce::Component::SafePointer(asComp())]()
Expand All @@ -81,6 +80,7 @@ template <typename Comp, typename PatchPart> struct DAHDSRComponents
w->setTriggerLabel();
};
triggerModePtr = &v.triggerMode;
setTriggerLabel();
}

juce::Rectangle<int> layoutDAHDSRAt(int x, int y)
Expand Down

0 comments on commit 5d154c4

Please sign in to comment.