set adjustCanvasSize to false by default

master
Igor Kulikov 6 years ago
parent 671b505b24
commit e2fbd08357

@ -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();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -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();

File diff suppressed because one or more lines are too long

@ -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();

File diff suppressed because one or more lines are too long

@ -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();

Loading…
Cancel
Save