Go back to text wordbubbles
This commit is contained in:
@@ -766,7 +766,7 @@ var moonlightDialog = {
|
|||||||
function stringSize(str, font)
|
function stringSize(str, font)
|
||||||
{
|
{
|
||||||
var f = font || '12px arial',
|
var f = font || '12px arial',
|
||||||
o = $('<div>' + this + '</div>')
|
o = $('<div>' + str + '</div>')
|
||||||
.css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font': f})
|
.css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font': f})
|
||||||
.appendTo($('body')),
|
.appendTo($('body')),
|
||||||
w = o.width(),
|
w = o.width(),
|
||||||
|
|||||||
Reference in New Issue
Block a user