diff --git a/src/deprecation.js b/src/deprecation.js index ef31f84..7e70c04 100644 --- a/src/deprecation.js +++ b/src/deprecation.js @@ -695,7 +695,7 @@ warn('determineFontProperties is now deprecated, please use the static calculateFontProperties method, ' + 'e.g : Text.calculateFontProperties(fontStyle);'); - return Text.calculateFontProperties(fontStyle); + return core.Text.calculateFontProperties(fontStyle); }; Object.defineProperties(core.TextStyle.prototype, {