How can I move the mouse cursor to the middle position of the LinearVertical Slider component (black line of the image) when I operate the LinearVertical Slider?
When using the image, the mouse cursor will be slightly off the center.
Below <ImageKnob *> returns to its original position with LastMouseDownPosition when mouse up with Lotary knob.
This is perfect for me.
<ImageSlider *> is also trying to move the mouse car saw in the middle of the component with the mouse package, but it was impossible.
It seems possible to solve the component of the LinearVertical Slider if it can acquire the position.!
void MainEditor::mouseUp (const MouseEvent& e)
else if (dynamic_cast<ImageSlider*>(e.eventComponent))