mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 22:21:59 +00:00
While layer or object rows are dragged in the Layers panel, holding the pointer within 28 points of the list's top or bottom edge scrolls the list that way, faster nearer the edge, and it keeps scrolling while the pointer stays still, so a row out of view can take the drop (a move, or a copy with Alt). The Libraries panel's edge-scroll helper moves to panels.rs and both panels use it. Scrolling stops on release, when the pointer leaves the list's width, and for other drags such as the eye or lock column.