mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
Fix text_scroller.js
We can set font size only after a font is used.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user