Skip to content

Commit

Permalink
Merge pull request #4517 from antoine-pous/patch-1
Browse files Browse the repository at this point in the history
JSDoc fix returned object type
  • Loading branch information
photonstorm committed May 10, 2019
2 parents 5dfea01 + ce1577b commit 7deaa9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gameobjects/text/MeasureText.js
Expand Up @@ -14,7 +14,7 @@ var CanvasPool = require('../../display/canvas/CanvasPool');
*
* @param {Phaser.GameObjects.TextStyle} textStyle - The TextStyle object to measure.
*
* @return {object} An object containing the ascent, descent and fontSize of the TextStyle.
* @return {Phaser.Types.GameObjects.Text.TextMetrics} An object containing the ascent, descent and fontSize of the TextStyle.
*/
var MeasureText = function (textStyle)
{
Expand Down

0 comments on commit 7deaa9e

Please sign in to comment.