SAAS-1086 - centre cursor when dragging

This commit is contained in:
Duncan Sommerville 2015-09-29 12:07:24 -04:00
parent db1e69c00f
commit f4fad13eb8

View file

@ -134,10 +134,9 @@ var AIRTIME = (function(AIRTIME) {
return container; return container;
}, },
cursor: 'move', cursor: 'move',
//cursorAt: { cursorAt: {
// top: 30, left: Math.floor($(this).outerWidth() / 2)
// right: 10 },
//},
distance: 25, // min-distance for dragging distance: 25, // min-distance for dragging
connectToSortable: '#show_builder_table' connectToSortable: '#show_builder_table'
}); });
@ -174,10 +173,9 @@ var AIRTIME = (function(AIRTIME) {
return container; return container;
}, },
cursor: 'move', cursor: 'move',
//cursorAt: { cursorAt: {
// top: 30, left: Math.floor($(this).outerWidth() / 2)
// right: 10 },
//},
distance: 25, // min-distance for dragging distance: 25, // min-distance for dragging
connectToSortable: '.active-tab .spl_sortable' connectToSortable: '.active-tab .spl_sortable'
}); });