In last commit I implemented caching for getBoundingClientRect() and scrollLeft / scrollTop.
Getting these values force the browser to perform DOM elements reflow.
Caching performed on Drag Start for elements marked with ng-drag='true'.
Also, in first commit I integrated PR# 156 + added element positioning relatively to pageX / pageY. Now I'm able to show drag icong relatively to the mouse cursor.
Note: please turn on ignoring of whitespaces in diff tool ;) I messed up diff with indentation. My bad.. sorry.
In last commit I implemented caching for getBoundingClientRect() and scrollLeft / scrollTop. Getting these values force the browser to perform DOM elements reflow.
Caching performed on Drag Start for elements marked with ng-drag='true'.
Also, in first commit I integrated PR# 156 + added element positioning relatively to pageX / pageY. Now I'm able to show drag icong relatively to the mouse cursor.
Note: please turn on ignoring of whitespaces in diff tool ;) I messed up diff with indentation. My bad.. sorry.