viewedPackage: BluePrintDetailModel = new BluePrintDetailModel();
customActionName: string;
showAction: boolean;
+ cl = 'editBar';
boardGraph: joint.dia.Graph;
boardPaper: joint.dia.Paper;
this.controllerSideBar = true;
this.attributesSideBar = false;
this.showAction = false;
- this.functionAttributeSidebar = true;
+ this.functionAttributeSidebar = false;
}
private _toggleSidebar1() {
this.controllerSideBar = !this.controllerSideBar;
+ if (this.controllerSideBar === false) {
+ this.cl = 'editBar2';
+ }
+ if (this.controllerSideBar === true) {
+ this.cl = 'editBar';
+ }
}
private _toggleSidebar2() {
this.attributesSideBar = !this.attributesSideBar;
this.boardPaper = new joint.dia.Paper({
el: $('#board-paper'),
model: this.boardGraph,
- height: 720,
- width: 1100,
+ // height: 720,
+ // width: 1100,
gridSize: 10,
drawGrid: true,
// background: {