Explorar o código

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

jinx %!s(int64=2) %!d(string=hai) anos
pai
achega
9b36f504be
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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);