Emergency patch to fix issue introduced in the svg core of Firefox as they are moving forward with implementing features of SVG 2
See this issue in svg-edit project tracker: Issue 1081. It contains pointers to the bugzilla thread if you are so interested git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2509 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
ccbb084bbf
commit
fc5673ea4d
|
@ -65,6 +65,11 @@ svgedit.recalculate.updateClipPath = function(attr, tx, ty) {
|
||||||
svgedit.recalculate.recalculateDimensions = function(selected) {
|
svgedit.recalculate.recalculateDimensions = function(selected) {
|
||||||
if (selected == null) return null;
|
if (selected == null) return null;
|
||||||
|
|
||||||
|
// Firefox Issue - 1081
|
||||||
|
if (selected.nodeName == "svg" && navigator.userAgent.indexOf("Firefox/20") >= 0) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
var svgroot = context_.getSVGRoot();
|
var svgroot = context_.getSVGRoot();
|
||||||
var tlist = svgedit.transformlist.getTransformList(selected);
|
var tlist = svgedit.transformlist.getTransformList(selected);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue