Skip to content

Commit 2669eb9

Browse files
committed
fix text sample
1 parent 717f340 commit 2669eb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

samples/text/text.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ function draw() {
2727
textfont('serif')
2828
text(padding, padding + margin * 2, 'OLÁ, MUNDO!', 3, 'bold')
2929
text(padding, padding + margin * 3, '世界您好!', 3, 'bold italic')
30+
31+
pause()
32+
}
33+
34+
function resized() {
35+
emit('draw')
3036
}

0 commit comments

Comments
 (0)