Better fix for Issue 769: Text tool defaults to white in FF4
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1961 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
f639150fed
commit
846ee8eca1
|
@ -8697,8 +8697,8 @@ var changeSelectedAttributeNoUndo = function(attr, newValue, elems) {
|
|||
var old_w = getBBox(elem).width;
|
||||
elem.textContent = newValue;
|
||||
|
||||
// FF bug occurs on on transformed elements
|
||||
if(elem.getAttribute('transform')) {
|
||||
// FF bug occurs on on rotated elements
|
||||
if(/rotate/.test(elem.getAttribute('transform'))) {
|
||||
elem = ffClone(elem);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue