Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shoujiali authored Apr 2, 2024
1 parent ba53c2a commit 65b28ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/text-nodes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const sprite = new SpriteText(node.id);
sprite.material.depthWrite = false; // make sprite background transparent
sprite.color = node.color;
sprite.textHeight = 1;
sprite.textHeight = 8;
return sprite;
});

Expand Down

0 comments on commit 65b28ad

Please sign in to comment.