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