Bug? Assertion: Draggable IncDec Slider Attachement


#1

Hey,
i am getting two assertions when i press a pushbutton of a IncDecButtons slider which is draggable and used with a AudioProcessorValueTreeState SliderAttachement:

JUCE Assertion failure in juce_AudioProcessor.cpp:495
JUCE Assertion failure in juce_AudioProcessor.cpp:517

This only happens when the Slider is of type IncDecButtons AND when it is draggable. When i disable draggability (Slider::incDecButtonsNotDraggable) then it works just fine.

Can anyone reproduce this? Any suggestions how to fix this? Or is it maybe a bug in the JUCE API?


#2

Thanks for reporting. This is now fixed on develop with commit 530bdf6.