diff options
author | Valerio Virgillito | 2012-02-29 12:07:04 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-29 12:07:04 -0800 |
commit | 551e1f2be11e9e6ab7af17816396b88aafd57dff (patch) | |
tree | 8ef6fdaba56bad0c6fd5fbb7a92084241a4dff20 /js/helper-classes/3D/view-utils.js | |
parent | 7c9291a5bab4abd849547f8878f6fb962fc88250 (diff) | |
parent | d417b3315f1aa6dd52fea10cbf5f17a213ef8726 (diff) | |
download | ninja-551e1f2be11e9e6ab7af17816396b88aafd57dff.tar.gz |
Merge pull request #84 from mqg734/SnapManagerFixes
SnapManager fixes for svg tags.
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-x | js/helper-classes/3D/view-utils.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js index bedda8bf..c1f59397 100755 --- a/js/helper-classes/3D/view-utils.js +++ b/js/helper-classes/3D/view-utils.js | |||
@@ -580,7 +580,8 @@ exports.ViewUtils = Montage.create(Component, { | |||
580 | if (elt.style.height) h = MathUtils.styleToNumber(elt.style.height); | 580 | if (elt.style.height) h = MathUtils.styleToNumber(elt.style.height); |
581 | } | 581 | } |
582 | 582 | ||
583 | if (elt instanceof SVGSVGElement) { | 583 | // if (elt instanceof SVGSVGElement) { |
584 | if(elt.nodeName.toLowerCase() === "svg") { | ||
584 | if(w instanceof SVGAnimatedLength) | 585 | if(w instanceof SVGAnimatedLength) |
585 | w = w.animVal.value; | 586 | w = w.animVal.value; |
586 | if(h instanceof SVGAnimatedLength) | 587 | if(h instanceof SVGAnimatedLength) |