Skip to content

Commit 0413e36

Browse files
committed
Fixed issue with text being clipped in the cross-compatible sample
1 parent 2067e41 commit 0413e36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cross-compatible-js-sample/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ function createLabel(e) {
134134
}];
135135

136136
selection.insertionParent.addChild(label);
137+
138+
label.placeInParentCoordinates({ x: label.localBounds.x, y: label.localBounds.y}, { x: 0, y: 0});
137139
});
138140
}
139141
}

0 commit comments

Comments
 (0)