if Point mouseDownWithinTarget from the juce::ComponentDragger was public instead of private, people could make componentDraggers that go back to their original point if a certain condition is true in mouseUp (or by adding a dedicated method for this specific purpose). atm i easily solve this by saving the start bounds in the component itself so it’s a rather pedantic feature request but i felt like this would improve the workflow slightly. common usecase is when you want to drag something onto something else to assign it to the other thing, like telling a modulator to modulate a certain parameter or so
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Floating toolbar/component dragging problem | 4 | 282 | April 23, 2008 | |
mouseWheelMove and drag bug
|
2 | 372 | March 31, 2021 | |
Behavior: Dragging past component "bounds" then back | 6 | 1293 | January 13, 2016 | |
Mouse Entering component while mouse drag started in other component | 3 | 424 | September 28, 2021 | |
ComponentBoundsConstrainer confussion | 0 | 583 | April 3, 2018 |