Browse Source

修复bug

xushiting 2 năm trước cách đây
mục cha
commit
cff6738242
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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.width = canvas.width;
       this.height = canvas.height;
       this.height = canvas.height;
     }
     }
+    this.zoom = defaultZoom;
     this.setCenter(canvas);
     this.setCenter(canvas);
     Constant.minAdsorbPix = minAdsorbPix * this.ratio;
     Constant.minAdsorbPix = minAdsorbPix * this.ratio;
     console.log(
     console.log(