Invalidate the controls after changes

This commit is contained in:
Jean Pierre Cimalando 2021-02-03 15:25:33 +01:00
parent 660dcb01d1
commit 787f388a26

View file

@ -606,6 +606,7 @@ void SControlsPanel::setControlValue(uint32_t index, float value)
return;
slot->knob->setValue(value);
slot->knob->invalid();
}
void SControlsPanel::setControlDefaultValue(uint32_t index, float value)
@ -633,6 +634,7 @@ void SControlsPanel::setControlLabelText(uint32_t index, UTF8StringPtr text)
slot->label->setText(text);
else
slot->label->setText(getDefaultLabelText(index).c_str());
slot->label->invalid();
}
void SControlsPanel::recalculateSubViews()