Skip to content

Commit

Permalink
Support opacity for TextClone
Browse files Browse the repository at this point in the history
  • Loading branch information
haxiomic committed Feb 18, 2019
1 parent c81dde6 commit 8af8f84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/util/TextClone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class TextClone extends Object2D {
textInternal.worldTransformMat4 = this.worldTransformMat4;
this.text.color = this.color;
this.text.additiveBlending = this.additiveBlending;
this.text.opacity = this.opacity;

this.text.draw(context);
}
Expand Down

0 comments on commit 8af8f84

Please sign in to comment.