Size wordbubbles to text

This commit is contained in:
2014-06-15 19:58:08 -07:00
parent 2d0785b91e
commit ebfccecc12

View File

@@ -632,8 +632,8 @@ function stringSize(str, font)
.appendTo($('body'));
widths.push(o.width());
height += 5 + o.height();
o.remove();
}, this);
o.remove();
return [Math.max(widths), height];
}