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;
|
||||
},
|
||||
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'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue