Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3400442579 opened this issue Nov 28, 2024 · 1 comment

Comments

@3400442579
Copy link

"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

@leaferjs
Copy link
Owner

收到,谢谢反馈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants