commit 6c887825c6702d08907c67d54a651b5beeb1e52f
parent 2698533bbffc55a5f3cae440d357483e75c825e5
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sat, 28 Sep 2024 21:27:51 +0200
force initial update of control tree item
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/source/xtJucePlugin/weControlTreeItem.cpp b/source/xtJucePlugin/weControlTreeItem.cpp
@@ -18,6 +18,10 @@ namespace xtJucePlugin
setPaintRootItemInBold(false);
setDrawsInLeftMargin(true);
+
+ // force initial update
+ m_wave = xt::WaveId(0);
+ setWave(xt::WaveId());
}
void ControlTreeItem::paintItem(juce::Graphics& _g, const int _width, const int _height)