xushiting 2 yıl önce
ebeveyn
işleme
cff6738242
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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(