SAAS-1086 - centre cursor when dragging
This commit is contained in:
parent
db1e69c00f
commit
f4fad13eb8
1 changed files with 6 additions and 8 deletions
|
@ -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'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue