Fix text_scroller.js

We can set font size only after a font is used.
This commit is contained in:
Luca Bigliardi
2009-01-31 01:09:42 +01:00
parent 819bc3ee39
commit 7a5473c7a7
+2 -2
View File
@@ -64,10 +64,10 @@ function render_word(wrd) {
lay = new TextLayer();
lay.size( 50 ); // set the size
lay.print( wrd ); // print the string in the layer
lay.size( 50 ); // set the size
lay.set_fps(25);