[fix] current drag not updating (#93)

This commit is contained in:
kwaroran
2023-05-23 20:51:12 +09:00
committed by GitHub

View File

@@ -258,6 +258,7 @@
type: "risuDrag",
index: ind
}))
currentDrag = ind
const avatar = e.currentTarget.querySelector('.avatar')
if(avatar){
e.dataTransfer.setDragImage(avatar, 10, 10);