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