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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
fix #149#1094#1605#1534 re-write of the collision code - fixing 6 years old most requested request
you can now swap items of the same size (vertical/horizontal) when grid is full, and is the default in float:false (top gravity) as it feels more natural. Could add Alt key for swap vs push behavior later.
Dragging up and down now behave the same (used to require push WAY down past to swap/append). Also much more efficient collision code.
handle mid point of dragged over items (>50%) rather than just a new row/column and check for the most covered item when multiple collide.
fix #393#1612#1578 re-write of the drag in/out code - fixing 5 years old bug
we now remove item when cursor leaves (acceptWidgets case using dropout event) or shape is outside (re-using same method) and re-insert on cursor enter (since we only get dropover event). Should not be possible to have 2 placeholders which confuses the grids.
major re-write and cleanup of the drag in/out. Vars have been renamed and fully documented as I couldn't understand the legacy buggy code.
removed any over trash delay feedback as I don't see the point and could introduce race conditions.