Made raster images be offset on multi-import too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1725 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
1f0e966d1c
commit
ad1933e297
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue