ソースを参照

fix: http://192.168.0.21/index.php?m=bug&f=view&bugID=37842

jinx 2 年 前
コミット
9b36f504be
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/graphic/Service/CircleService.js

+ 2 - 1
src/graphic/Service/CircleService.js

@@ -10,7 +10,8 @@ export default class CircleService {
   constructor() {}
 
   create(center, radius, vectorId) {
-    if (!center || !radius || radius < Constant.minAdsorbPix / 2) {
+    // if (!center || !radius || radius < Constant.minAdsorbPix / 2) {
+    if (!center || !radius ) {
       return null;
     }
     let circle = new Circle(center, radius, vectorId);