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];
|
var data = this[1];
|
||||||
if(type == 'svg') {
|
if(type == 'svg') {
|
||||||
svgCanvas.importSvgString(data);
|
svgCanvas.importSvgString(data);
|
||||||
svgCanvas.moveSelectedElements(i*20, i*20, false);
|
|
||||||
} else {
|
} else {
|
||||||
importImage(data);
|
importImage(data);
|
||||||
}
|
}
|
||||||
|
svgCanvas.moveSelectedElements(i*20, i*20, false);
|
||||||
});
|
});
|
||||||
preview.empty();
|
preview.empty();
|
||||||
multi_arr = [];
|
multi_arr = [];
|
||||||
|
|
Loading…
Reference in New Issue