Element.transform().toString() fix attempt
Sometimes calling .transform().toString() returns an object, instead of a string. elproto._.transform gets assigned to the toString() property of the transform() return value, but this value is an object. Sample case: http://jsfiddle.net/bitblitter/hUWT7/3/master
parent
25fdc9f477
commit
542c41aaa2
|
@ -1359,7 +1359,7 @@ function Element(el) {
|
|||
i,
|
||||
localString = local.toTransformString(),
|
||||
string = Str(local) == Str(this.matrix) ?
|
||||
_.transform : localString;
|
||||
Str(_.transform) : localString;
|
||||
while (papa.type != "svg" && (papa = papa.parent())) {
|
||||
ms.push(extractTransform(papa));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue