Fixed selection box size on font family change

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@493 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-08-28 13:35:09 +00:00
parent 3a1559b5da
commit e2556a6574
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}