Browse Source

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

jinx 2 năm trước cách đây
mục cha
commit
9b36f504be
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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);