2
0
Fork 0
Loaded preset didn't refresh knob status.
This commit is contained in:
George Reales 2020-04-23 19:41:50 +02:00
parent 29579de1c3
commit 5155f0a921
2 changed files with 2 additions and 1 deletions

View file

@ -59,7 +59,7 @@ public:
*/
void updateToSlider(){
float val = parameter->getValue();
buttonListToControl->setValue(val, NotificationType::dontSendNotification);
//buttonListToControl->setValue(val, NotificationType::dontSendNotification);
//buttonListToControl->setValue(parameter->convertFrom0to1(val0to1), NotificationType::dontSendNotification);
buttonListToControl->setValue(val, NotificationType::dontSendNotification);
}

View file

@ -64,6 +64,7 @@ public:
void updateToSlider(){
float val = parameter->getValue();
//buttonToControl->setValue(parameter->convertFrom0to1(val0to1), NotificationType::dontSendNotification);
buttonToControl->setValue(val, NotificationType::dontSendNotification);
}
virtual ~ToggleAttachment() = default;
};