Skip to content

Commit 95611df

Browse files
committed
Fix flutter
1 parent 9a0aea0 commit 95611df

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

packages/backend/src/flutter/flutterDefaultBuilder.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ export class FlutterDefaultBuilder {
2424
}
2525

2626
blendAttr(node: SceneNode): this {
27-
if ("layoutAlign" in node && "opacity" in node && "visible" in node) {
28-
this.child = flutterVisibility(node, this.child);
27+
console.log("rotation is", node.rotation);
28+
if ("rotation" in node) {
2929
this.child = flutterRotation(node, this.child);
30-
this.child = flutterOpacity(node, this.child);
30+
}
31+
if ("visible" in node) {
32+
this.child = flutterVisibility(node, this.child);
3133
} else if ("opacity" in node) {
3234
this.child = flutterOpacity(node, this.child);
3335
}

0 commit comments

Comments
 (0)