From 521d66607f5cd1129a17cb54f332fe5afd3a2ce6 Mon Sep 17 00:00:00 2001 From: Sarah Abouzainah Date: Tue, 20 Oct 2020 21:59:14 +0200 Subject: Fix Radio Selection and Undo JointJS changes Issue-ID: CCSDK-2823 Issue-ID: CCSDK-2780 Signed-off-by: Sarah Abouzainah Change-Id: I51b2c80a4d8c338edf90fe1a1bae1640539b5126 --- .../feature-modules/packages/designer/designer.component.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts index 1475f1ac3..d0af828e8 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts @@ -251,6 +251,7 @@ export class DesignerComponent implements OnInit, OnDestroy { el: $('#palette-paper'), model: this.paletteGraph, width: 318, + // height: '100%', height: $('#palette-paper').height(), // background: { // color: 'rgba(0, 255, 0, 0.3)' @@ -268,12 +269,12 @@ export class DesignerComponent implements OnInit, OnDestroy { 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: { - // color: 'rgba(0, 255, 0, 0.3)' + // background: { + // color: 'rgba(0, 255, 0, 0.3)' // }, cellViewNamespace: joint.shapes }); -- cgit 1.2.3-korg