fix: group drop problem

This commit is contained in:
IchliebedichZhu 2024-03-07 18:11:02 +00:00
parent 8b9a64adfb
commit 8de5dc08f8

View File

@ -170,7 +170,6 @@ async function drop(e: MouseEvent) {
if (!canvasEl) return
const lostX = e.x - canvasEl.getBoundingClientRect().left
const lostY = e.y - canvasEl.getBoundingClientRect().top
console.log('xy, ',lostX, lostY)
//
if (type === 'group') {
let parent: TParentData = {}