Fixed selection box size on font family change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@493 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3a1559b5da
commit
e2556a6574
|
@ -2600,7 +2600,7 @@ function SvgCanvas(c)
|
|||
else elem.setAttribute(attr, val);
|
||||
selectedBBoxes[i] = this.getBBox(elem);
|
||||
if(elem.nodeName == 'text') {
|
||||
if((val+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','x','y']) != -1) {
|
||||
if((val+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','font-family','x','y']) != -1) {
|
||||
elem = canvas.quickClone(elem);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue