Delay touch sortable items on touch devices #5
|
@ -26,6 +26,7 @@ window.onload = function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
Sortable.create(items, {
|
Sortable.create(items, {
|
||||||
|
delayOnTouchOnly: true,
|
||||||
group: "dndmusicbot-playlists",
|
group: "dndmusicbot-playlists",
|
||||||
filter: ".locked",
|
filter: ".locked",
|
||||||
onMove: (e) => {
|
onMove: (e) => {
|
||||||
|
@ -47,6 +48,7 @@ window.onload = function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
Sortable.create(amb, {
|
Sortable.create(amb, {
|
||||||
|
delayOnTouchOnly: true,
|
||||||
group: "dndmusicbot-ambiance",
|
group: "dndmusicbot-ambiance",
|
||||||
filter: ".locked",
|
filter: ".locked",
|
||||||
onMove: (e) => {
|
onMove: (e) => {
|
||||||
|
|
Loading…
Reference in New Issue