editor draggin cursor

This commit is contained in:
jean-emmanuel 2016-03-18 13:03:12 +01:00
parent 60bd47465d
commit c3ce61a39d
3 changed files with 9 additions and 5 deletions

View file

@ -216,6 +216,7 @@ var editObject = function(container, data, refresh){
if (data.hasOwnProperty('top')) {
container.draggable({
cursor:'-webkit-grabbing',
stop: function( event, ui ) {
event.preventDefault()
data.top = (ui.helper.position().top + container.parent().scrollTop())/PXSCALE