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-75d572ba1dddmaster
parent
167b502b67
commit
3ad14a1e2a
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue