소스 검색

fix circumference draw

Victor Domingues 5 년 전
부모
커밋
a5180f3940
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/app/components/circumference-component/drawers/circumference-drawer.js

+ 1 - 0
src/app/components/circumference-component/drawers/circumference-drawer.js

@@ -55,6 +55,7 @@ export class CircumferenceDrawer extends Drawer {
             this.radiusAggregator = this.pointDrawer.drawPoint();
             this.radius = this.radiusAggregator.genericObject;
             this.createAndDraw(this.center, this.radius);
+            this.clear();
         }
     }
     createAndDraw(center, radius) {