Size wordbubbles to text

This commit is contained in:
2014-06-15 20:16:43 -07:00
parent edc8497329
commit 8d45eccd0d

View File

@@ -635,7 +635,7 @@ function stringSize(str, font)
height += 5 + o.height(); height += 5 + o.height();
o.remove(); o.remove();
}, this); }, this);
return [Math.max(widths), height]; return [Math.max.call(widths), height];
} }
var EffectSprite = function(game, x, y, key, frame, animation) { var EffectSprite = function(game, x, y, key, frame, animation) {