Made raster images be offset on multi-import too

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1725 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-09-16 20:25:44 +00:00
parent 1f0e966d1c
commit ad1933e297

View File

@@ -146,10 +146,10 @@ svgEditor.addExtension("imagelib", function() {
var data = this[1];
if(type == 'svg') {
svgCanvas.importSvgString(data);
svgCanvas.moveSelectedElements(i*20, i*20, false);
} else {
importImage(data);
}
svgCanvas.moveSelectedElements(i*20, i*20, false);
});
preview.empty();
multi_arr = [];