Skip to content

Commit e84718c

Browse files
yiiqiizheeeng
andauthored
Update packages/effects-core/src/plugins/text/text-vfx-item.ts
Co-authored-by: Zheeeng <hi@zheeeng.me>
1 parent 7c523f0 commit e84718c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/effects-core/src/plugins/text/text-vfx-item.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class TextVFXItem extends VFXItem<TextItem> {
2525
override onLifetimeBegin (composition: Composition, content: TextItem) {
2626
content.active = true;
2727
this.content?.mesh!.setItems([this.content]);
28+
this.content?.mesh?.setItems([this.content]);
2829
this.content.updateTexture();
2930
}
3031

0 commit comments

Comments
 (0)