Size wordbubbles to text
This commit is contained in:
@@ -632,8 +632,8 @@ function stringSize(str, font)
|
|||||||
.appendTo($('body'));
|
.appendTo($('body'));
|
||||||
widths.push(o.width());
|
widths.push(o.width());
|
||||||
height += 5 + o.height();
|
height += 5 + o.height();
|
||||||
}, this);
|
|
||||||
o.remove();
|
o.remove();
|
||||||
|
}, this);
|
||||||
return [Math.max(widths), height];
|
return [Math.max(widths), height];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user