Skip to content

Commit 2cc498e

Browse files
committed
Updating sync methods.
1 parent 08d9e55 commit 2cc498e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • v3/src/gameobjects/text/static

v3/src/gameobjects/text/static/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var Text = new Class({
120120
context.fillRect(0, 0, canvas.width, canvas.height);
121121
}
122122

123-
style.syncToCanvas(canvas, context);
123+
style.syncFont(canvas, context);
124124

125125
var linePositionX;
126126
var linePositionY;

0 commit comments

Comments
 (0)