You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to have an Adobe-style panel that snaps to the viewport edge. Basically, it's the containment option, but with an additional snapping behavior, with [x,y] proximity thresholds in pixels specified as you have now with grid. While I'm wishing, it would be useful if it fired an event (dock?), which could be used for later layout calcs. Thanks.
The text was updated successfully, but these errors were encountered:
While it's a nice feature, it's actually pretty easy to implement yourself. Managed to get this working with ~15 lines of code (on the X axis only; Y axis should be similar).
I'm trying to have an Adobe-style panel that snaps to the viewport edge. Basically, it's the containment option, but with an additional snapping behavior, with [x,y] proximity thresholds in pixels specified as you have now with
grid
. While I'm wishing, it would be useful if it fired an event (dock
?), which could be used for later layout calcs. Thanks.The text was updated successfully, but these errors were encountered: