Direction is now determined only by the border the mouse is nearer
With this change, I can no longer move a button to the first position in a horizontal (inline) layout container, such as a footer.
I am unable to make this work at all anymore.
Same is true for horizontal button groups
Also, it seems that list items in a list can no longer be sorted either... not sure if it is related, but I can see the behavior difference between the 01.org/rib/online version and master
Please go back and retest more thoroughly and fix or note regressions.
[Layout View] Improve the sorting algorithm to solve jittering problem
[Layout View] Fix the problem that lists can't be sorted
[Layout View] Call refresh using more official way
I fixed all the bugs you mentioned. Please review. Thanks!
[Layout View] Fix the problem that horizontal buttons can't be sorted
jQuery UI's floating caculation overlooks the fact that items may
come from other connected containers which may not be horizontal
while this container is horizontal
[Layout View] Exclude currentItem from distance calculation