kopia lustrzana https://github.com/jameshball/osci-render
Fix bug that meant you couldn't change slider ranges
rodzic
151aaf68cf
commit
a0d2c93327
|
@ -29,6 +29,7 @@ void EffectComponent::setupComponent() {
|
|||
|
||||
label.setTooltip(parameter->description);
|
||||
label.setText(parameter->name, juce::dontSendNotification);
|
||||
label.setInterceptsMouseClicks(false, false);
|
||||
|
||||
slider.setRange(parameter->min, parameter->max, parameter->step);
|
||||
slider.setValue(parameter->getValueUnnormalised(), juce::dontSendNotification);
|
||||
|
|
Ładowanie…
Reference in New Issue