Skip to content

Commit

Permalink
undo rotations for texts
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed May 29, 2024
1 parent ea425a6 commit 4d9d4bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugin-src/transformers/transformTextNode.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {
transformBlend,
transformDimension,
transformDimensionAndPosition,
transformEffects,
transformProportion,
transformRotationAndPosition,
transformSceneNode,
transformStrokes,
transformText
Expand All @@ -20,8 +19,7 @@ export const transformTextNode = async (
type: 'text',
name: node.name,
...(await transformText(node)),
...transformDimension(node),
...transformRotationAndPosition(node, baseX, baseY),
...transformDimensionAndPosition(node, baseX, baseY),
...transformEffects(node),
...transformSceneNode(node),
...transformBlend(node),
Expand Down

0 comments on commit 4d9d4bb

Please sign in to comment.