Slider alt+click problem (AAX)


#1

I'm using the Slider double click / alt+click reset to default feature (setDoubleClickReturnValue).

In AAX, we can ctrl+alt+cmd+click a parameter in the GUI to enable automation on it. But the alt+click is triggered and the param is set to its default value...

Could we make the test a little more strict and trigger the "reset to default" only when we left click with alt and no other modifier ? In Slider::Pimpl::mouseDown

-            else if (canDoubleClickToValue() && e.mods.isAltDown())
+            else if (canDoubleClickToValue() && e.mods.getRawFlags() == (ModifierKeys::leftButtonModifier | ModifierKeys::altModifier))
             {
                 mouseDoubleClick();
             }

Thanks.


#2

Fixed on the latest tip!


#3

Thanks Fabian !