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 dc91d370b6d861983381cd92892ce295b2a43413
parent 8fff62343d7ba927fb7f71dc524242a7c231c478
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue,  6 Aug 2024 22:18:56 +0200

workaround for Juce bug: If slider range changes but value doesn't, slider is not repainted

Diffstat:
Msource/jucePluginLib/parameterbinding.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/source/jucePluginLib/parameterbinding.cpp b/source/jucePluginLib/parameterbinding.cpp @@ -74,6 +74,9 @@ namespace pluginLib if (v->isBipolar()) _slider.getProperties().set("bipolar", true); + // Juce bug: If the range changes but the value doesn't, Juce doesn't issue a repaint. Do it manually + _slider.repaint(); + const BoundParameter p{v, &_slider, _param, _part}; addBinding(p); }