mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +08:00
fix: group drop problem
This commit is contained in:
parent
8b9a64adfb
commit
8de5dc08f8
@ -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 = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user