浏览代码

fix: line model

Victor Luiz Domingues 1 年之前
父节点
当前提交
63d38eb415
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/components/line-component/models/line-model.js

+ 1 - 1
src/app/components/line-component/models/line-model.js

@@ -15,7 +15,7 @@ const Erro = 0.00001; //TODO a definir...
 export class LineModel extends LineSegmentModel {
 
   constructor(pointA, pointB, label, id) {
-    super(pointA, pointB, undefined, label, id);
+    super(pointA, pointB, label, id);
     this.setClass(ELEMENTS_CLASS.LINE);
   }