Capture mouse in a bounding box?
lehmann at media-interactive.de
Fri Apr 12 09:17:35 PDT 2013
Thanks, Pavel. Just to clarify, the mouse cursor would not stick but it
would be constrained to a box, until the mouse button is released. I
think your recommendation is the only option then (it's what I came up
On 12.04.2013 17:26, Pavel Safrata wrote:
> Hi Werner,
> no, there is no such feature. I would recommend to just not follow the
> mouse with the dragged object outside of the bounds. You can file a
> feature request to Jira if you want. Frankly, I don't think it will get
> a high priority unless you provide really compelling reason for it (I
> don't think it's an encouraged pattern, usually it's pretty frustrating
> for the user when the mouse doesn't move).
> On 12.4.2013 17:11, Werner Lehmann wrote:
>> is there a way to capture the mouse cursor to a bounding box? I am
>> using simple-press-drag-and-release to move a node with the mouse, and
>> I want to keep the mouse inside the bounds of the node's parent
>> control. Thx...
More information about the openjfx-dev