关于节点旋转的疑问(transform/transformorigin) #7500
Unanswered
atomMacros
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
就是在添加添加的时候,在style里面配置旋转角度(transform: 'rotate(40deg)')以及旋转的中心点(transformOrigin:'center'), 这个节点会跑到左上角,当拖拽的时候,又回到了正确的位置,这是为什么?
在官方的Demo里面也会,就是设置了旋转属性,没有按照预期在原有的位置在中心点旋转
官方的demo
Beta Was this translation helpful? Give feedback.
All reactions