vasturiano / three-spritetext

A sprite based text component for ThreeJS
https://vasturiano.github.io/three-spritetext/example/basic/
MIT License
340 stars 46 forks source link

Set context font again, before drawing #11

Closed ettavolt closed 4 years ago

ettavolt commented 4 years ago

The context is reset as the result of canvas size modification. This was the behavior before multiline feature. I've added comments in case someone in the future will think this resetting is useless. :)