diff --git a/Source/Gui/ButtonList.h b/Source/Gui/ButtonList.h index 0f8fcdd..c65ec53 100755 --- a/Source/Gui/ButtonList.h +++ b/Source/Gui/ButtonList.h @@ -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); } diff --git a/Source/Gui/TooglableButton.h b/Source/Gui/TooglableButton.h index a68ad6d..af3f055 100755 --- a/Source/Gui/TooglableButton.h +++ b/Source/Gui/TooglableButton.h @@ -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; };