leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

在 打组时 触发的 EditorEvent.SELECT ,获取 editor.element.worldBoxBounds 的 x和y 的值 为 0 ,width和height =100 ,

Open 3400442579 opened this issue 1 year ago • 1 comments

"leafer-editor": "1.0.9"

单个对象触发的 EditorEvent.SELECT , x和y 、width和height 是正确的

console.log("getBounds",editor.element.getBounds()) console.log("worldBoxBounds",editor.element.worldBoxBounds) console.log("worldRenderBounds",editor.element.worldRenderBounds)

image

3400442579 avatar Nov 28 '24 02:11 3400442579

收到,谢谢反馈~

leaferjs avatar Nov 28 '24 07:11 leaferjs