mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-03 05:10:13 -05:00
fix rotation matrix
This commit is contained in:
parent
440ce8f4eb
commit
eca913eadc
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export const transformRectangleNode = (
|
|||
e: 0,
|
||||
f: 0
|
||||
},
|
||||
rotation: node.rotation < 0 ? node.rotation + 360 : node.rotation,
|
||||
rotation: -node.rotation < 0 ? -node.rotation + 360 : -node.rotation,
|
||||
...transformDimensionAndPosition(node, baseX, baseY),
|
||||
...transformSceneNode(node),
|
||||
...transformBlend(node)
|
||||
|
|
Loading…
Reference in a new issue