2
0

removed console logs

This commit is contained in:
2018-08-05 18:38:53 +02:00
parent e220f6b5dd
commit b4e915d1ea
2 changed files with 7 additions and 17 deletions

View File

@@ -48,11 +48,12 @@ export class GuillocheDirective implements OnChanges {
}
ngOnChanges(changes: SimpleChanges) {
const points = [this.graph.start.point, ...this.graph.nodes, this.graph.end.point];
const points = [
this.graph.start.point,
...this.graph.nodes,
this.graph.end.point
];
this.spreadLines(points);
console.log('guilloche directive (changes)', changes.graph.currentValue);
}
private drawGraph(points: Point[]): void {
@@ -68,8 +69,6 @@ export class GuillocheDirective implements OnChanges {
if (!env.production) {
this.showGrid();
}
console.log('guilloche directive(drawGraph)', this.graph);
}
private spreadLines(points: Point[]) {