gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 8bd307c5965094817afe04c4bb6147b61200a44f
parent bdab0d8911f4f512a181d53a8358c31149af7615
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Wed, 29 Dec 2021 12:36:30 +0100

set double click return value to parameter default

Diffstat:
Msource/jucePlugin/VirusParameterBinding.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/source/jucePlugin/VirusParameterBinding.cpp b/source/jucePlugin/VirusParameterBinding.cpp @@ -12,5 +12,6 @@ void VirusParameterBinding::bind(juce::Slider& _slider, Virus::ParameterType _pa } const auto range = v->getNormalisableRange(); _slider.setRange(range.start, range.end, range.interval); + _slider.setDoubleClickReturnValue(true, v->getDefaultValue()); _slider.getValueObject().referTo(v->getValueObject()); }