I have a component which contains multiple sliders arrayed horizontally representing a sequence of velocities. I'd like to make it so that if the user drags laterally from one of the sliders, instead of continuing to affect that slider, each slider that the user drags over gets set to the Y position of the mouse as it enters that slider.
I don't think I have explained myself very well, but essentially I'd like to make it so that the user can quickly set all the sliders by dragging the mouse laterally over all of them.
I've tried subclassing Slider and trying to send fake mouseDown and mouseUp callbacks from mouseEnter & mouseExit, but while the user is dragging from the original Slider, mouseEnter & mouseExit don't seem to get called for the Slider under the mouse. Can anyone think of a workaround for this?