Pārlūkot izejas kodu

fix: line model

Victor Luiz Domingues 1 gadu atpakaļ
vecāks
revīzija
63d38eb415

+ 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);
   }