浏览代码

修复bug

xushiting 2 年之前
父节点
当前提交
cff6738242
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/graphic/Coordinate.js

+ 1 - 0
src/graphic/Coordinate.js

@@ -103,6 +103,7 @@ export default class Coordinate {
       this.width = canvas.width;
       this.height = canvas.height;
     }
+    this.zoom = defaultZoom;
     this.setCenter(canvas);
     Constant.minAdsorbPix = minAdsorbPix * this.ratio;
     console.log(