瀏覽代碼

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