mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 13:02:07 +03:00
147c1cf99f
Fixes #9780 Before all drag handlers set pointer capture on their `currentTarget`, preventing click events on the actual click target, and to prevent that we stopped `pointerdown` (and more) on every "panel-like" element. Now it's ok to stop only actually handled events. Navigator and selection handlers just ignore `pointerdown` events not targeted to actual Graph Editor background. Node dragging is more complex, as we want to allow dragging the node by grabbing just any of its part (including widgets). So the handler takes pointer capture from widget only after a significant move (long enough in time _or_ space). **This allows user to drag nodes by many interactive widgets (before they stopped `pointerdown` disabling node drag). [Screencast from 2024-05-08 10-45-33.webm](https://github.com/enso-org/enso/assets/3919101/d521b7a4-96c5-4e2c-a8a6-84388a18d041) |
||
---|---|---|
.. | ||
gui2 | ||
ide-desktop |