Browse Source

fix: line model

Victor Luiz Domingues 1 year ago
parent
commit
63d38eb415
1 changed files with 1 additions and 1 deletions
  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 {
 export class LineModel extends LineSegmentModel {
 
 
   constructor(pointA, pointB, label, id) {
   constructor(pointA, pointB, label, id) {
-    super(pointA, pointB, undefined, label, id);
+    super(pointA, pointB, label, id);
     this.setClass(ELEMENTS_CLASS.LINE);
     this.setClass(ELEMENTS_CLASS.LINE);
   }
   }