|
|
@@ -193,7 +193,6 @@ export default {
|
|
|
})))
|
|
|
img.moveTo(sort)
|
|
|
if(img.getScaledWidth() > options.maxWidth){
|
|
|
- let zoom = this.fcanvas.getZoom()
|
|
|
img.scaleToWidth(options.maxWidth * this.fcanvas.getZoom())
|
|
|
}
|
|
|
if(img.getScaledHeight() > options.maxHeight){
|
|
|
@@ -204,7 +203,6 @@ export default {
|
|
|
this.getLayers()
|
|
|
if(selectable) this.select(img)
|
|
|
this.fcanvas.renderAll();
|
|
|
- console.log(img);
|
|
|
resolve(img)
|
|
|
}, {
|
|
|
crossOrigin: 'anonymous',
|