Invalidate the secondary CC knob on value changed
This commit is contained in:
parent
4edbf1f6a5
commit
bb593277f6
1 changed files with 3 additions and 1 deletions
|
|
@ -1515,8 +1515,10 @@ void Editor::Impl::updateCCValue(unsigned cc, float value)
|
||||||
if (SControlsPanel* panel = controlsPanel_)
|
if (SControlsPanel* panel = controlsPanel_)
|
||||||
panel->setControlValue(cc, value);
|
panel->setControlValue(cc, value);
|
||||||
|
|
||||||
if (CControl* other = getSecondaryCCControl(cc))
|
if (CControl* other = getSecondaryCCControl(cc)) {
|
||||||
other->setValue(value);
|
other->setValue(value);
|
||||||
|
other->invalid();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Editor::Impl::updateCCDefaultValue(unsigned cc, float value)
|
void Editor::Impl::updateCCDefaultValue(unsigned cc, float value)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue