mirror of
https://codeberg.org/armin/rmx-19.git
synced 2026-10-11 16:51:55 +02:00
make splash screen show only on first launch, fix evolution in presets
This commit is contained in:
parent
cfe5bcca5f
commit
f469283178
4 changed files with 18 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue