Fixed: ext-panning removes last created element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2338 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
197c62f7cd
commit
9041ef9609
|
@ -36,7 +36,11 @@ svgEditor.addExtension("ext-panning", function() {
|
||||||
|
|
||||||
mouseUp: function(opts) {
|
mouseUp: function(opts) {
|
||||||
if(svgCanvas.getMode() == "ext-panning") {
|
if(svgCanvas.getMode() == "ext-panning") {
|
||||||
svgEditor.setPanning(false);
|
svgEditor.setPanning(false);
|
||||||
|
return {
|
||||||
|
keep: false,
|
||||||
|
element: null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue