diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 4e94f6b..0c35dc0 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -704,8 +704,7 @@ */ set text(text) { - text = text || ' '; - text = text.toString(); + text = String(text || ' '); if (this._text === text) {