make splash screen show only on first launch, fix evolution in presets

This commit is contained in:
Armin 2026-09-16 15:21:08 +02:00
commit f469283178
4 changed files with 18 additions and 4 deletions

View file

@ -945,7 +945,11 @@ void LcdPanel::stepDelaySync (int dir)
const int cur = (int) proc.apvts.getRawParameterValue ("delaysync")->load();
const int nv = juce::jlimit (0, prm::delaySyncCount - 1, cur + dir);
if (nv != cur)
{
par->beginChangeGesture();
par->setValueNotifyingHost (juce::NormalisableRange<double> (0.0, (double) (prm::delaySyncCount - 1)).convertTo0to1 ((double) nv));
par->endChangeGesture();
}
setDirty();
}
@ -957,7 +961,13 @@ void LcdPanel::stepParam (prm::Id id, int dir, bool coarse)
const float cur = proc.apvts.getRawParameterValue (prm::desc (id).id)->load();
const float nv = prm::changeParam (id, cur, dir, coarse);
if (nv != cur)
{
// send begin/end gesture so hosts (FL "tools -> last tweaked") register
// this as a user tweak rather than a silent automation change
par->beginChangeGesture();
par->setValueNotifyingHost (par->convertTo0to1 (nv));
par->endChangeGesture();
}
setDirty();
}