jinx %!s(int64=2) %!d(string=hai) anos
pai
achega
2e780b1318
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/graphic/Service/SVGService.js

+ 1 - 1
src/graphic/Service/SVGService.js

@@ -14,7 +14,7 @@ export default class SVGService {
   }
   }
   copy(vectorId) {
   copy(vectorId) {
     let SVG = dataService.getSVG(vectorId);
     let SVG = dataService.getSVG(vectorId);
-    let newCenter = uiService.getNewPositionForPop(SVG.center);
+    // let newCenter = uiService.getNewPositionForPop(SVG.center);
     //为了罗敏的需求改动,要求复制出来的svg不重叠
     //为了罗敏的需求改动,要求复制出来的svg不重叠
     let center = { x: SVG.center.x + 100 * SVG.scale, y: SVG.center.y - 100 * SVG.scale };
     let center = { x: SVG.center.x + 100 * SVG.scale, y: SVG.center.y - 100 * SVG.scale };
     // let newSVG = this.create(newCenter, SVG.type);
     // let newSVG = this.create(newCenter, SVG.type);