فهرست منبع

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) {