Commit e2fbd083 authored by Igor Kulikov's avatar Igor Kulikov

set adjustCanvasSize to false by default

parent 671b505b
......@@ -3419,7 +3419,7 @@
event.preventDefault();
})
};
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
};
/**
* @return {?}
......@@ -3466,7 +3466,7 @@
}));
}
if (nodesChanged_1) {
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
if (nodesChanged_1 || edgesChanged_1) {
this.cd.detectChanges();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2709,7 +2709,7 @@ class NgxFlowchartComponent {
event.preventDefault();
})
};
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
/**
* @return {?}
......@@ -2753,7 +2753,7 @@ class NgxFlowchartComponent {
}));
}
if (nodesChanged) {
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
if (nodesChanged || edgesChanged) {
this.cd.detectChanges();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3222,7 +3222,7 @@ var NgxFlowchartComponent = /** @class */ (function () {
event.preventDefault();
})
};
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
};
/**
* @return {?}
......@@ -3269,7 +3269,7 @@ var NgxFlowchartComponent = /** @class */ (function () {
}));
}
if (nodesChanged_1) {
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
if (nodesChanged_1 || edgesChanged_1) {
this.cd.detectChanges();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -158,7 +158,7 @@ export class NgxFlowchartComponent implements OnInit, DoCheck {
event.preventDefault();
}
};
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
ngDoCheck(): void {
......@@ -184,7 +184,7 @@ export class NgxFlowchartComponent implements OnInit, DoCheck {
});
}
if (nodesChanged) {
this.adjustCanvasSize(true);
this.adjustCanvasSize(false);
}
if (nodesChanged || edgesChanged) {
this.cd.detectChanges();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment