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(