xushiting 2 лет назад
Родитель
Сommit
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(