leafer-ui
leafer-ui copied to clipboard
在 打组时 触发的 EditorEvent.SELECT ,获取 editor.element.worldBoxBounds 的 x和y 的值 为 0 ,width和height =100 ,
"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)
收到,谢谢反馈~