Skip to content
Snippets Groups Projects
Commit 674c0a8f authored by mathias.chouet's avatar mathias.chouet
Browse files

PreBarrage: change form on graph click, edit walls

parent bee93336
No related branches found
No related tags found
No related merge requests found
...@@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni ...@@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni
const wall = this._selectedItem as PbCloison; const wall = this._selectedItem as PbCloison;
const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval); const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval);
this.model.addChild(wallCopy); this.model.addChild(wallCopy);
this.unselect(); this.unselect(); // @TODO select new wall ?
this.refresh(); this.refresh();
this.selectNodeOnSchema(wallCopy); this.selectNodeOnSchema(wallCopy);
} }
......
...@@ -270,6 +270,7 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs ...@@ -270,6 +270,7 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs
break; break;
case "template_container": case "template_container":
console.log("parsing template container !", conf);
this.parse_template_container(conf, templates); this.parse_template_container(conf, templates);
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment