[fix] current drag not updating
This commit is contained in:
@@ -258,6 +258,7 @@
|
|||||||
type: "risuDrag",
|
type: "risuDrag",
|
||||||
index: ind
|
index: ind
|
||||||
}))
|
}))
|
||||||
|
currentDrag = ind
|
||||||
const avatar = e.currentTarget.querySelector('.avatar')
|
const avatar = e.currentTarget.querySelector('.avatar')
|
||||||
if(avatar){
|
if(avatar){
|
||||||
e.dataTransfer.setDragImage(avatar, 10, 10);
|
e.dataTransfer.setDragImage(avatar, 10, 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user