Updating ext-panning to use svgEditor.setPanning() instead of svgEditor.setPan()

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2335 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Luis Aguirre 2013-02-07 14:07:04 +00:00
parent 167b502b67
commit 3ad14a1e2a
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@ svgEditor.addExtension("ext-panning", function() {
}],
mouseDown: function() {
if(svgCanvas.getMode() == "ext-panning") {
svgEditor.setPan(true);
svgEditor.setPanning(true);
return {started: true};
}
},
mouseUp: function(opts) {
if(svgCanvas.getMode() == "ext-panning") {
svgEditor.setPan(false);
svgEditor.setPanning(false);
}
}
};