From 2664cfb6acafedf03018a9ba708d14accdd6806f Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:14:32 -0500 Subject: [PATCH] add withSelection, update padding --- .../demos/pipelineGroupsDemo/createDemoPipelineGroupsNodes.ts | 2 +- .../demos/pipelineGroupsDemo/pipelineGroupsComponentFactory.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/demo-app-ts/src/demos/pipelineGroupsDemo/createDemoPipelineGroupsNodes.ts b/packages/demo-app-ts/src/demos/pipelineGroupsDemo/createDemoPipelineGroupsNodes.ts index 383c99cd..9f66851b 100644 --- a/packages/demo-app-ts/src/demos/pipelineGroupsDemo/createDemoPipelineGroupsNodes.ts +++ b/packages/demo-app-ts/src/demos/pipelineGroupsDemo/createDemoPipelineGroupsNodes.ts @@ -7,7 +7,7 @@ import { export const NODE_PADDING_VERTICAL = 15; export const NODE_PADDING_HORIZONTAL = 15; -export const GROUP_PADDING_VERTICAL = 15; +export const GROUP_PADDING_VERTICAL = 50; export const GROUP_PADDING_HORIZONTAL = 25; export const DEFAULT_TASK_WIDTH = 180; diff --git a/packages/demo-app-ts/src/demos/pipelineGroupsDemo/pipelineGroupsComponentFactory.tsx b/packages/demo-app-ts/src/demos/pipelineGroupsDemo/pipelineGroupsComponentFactory.tsx index edc7b214..a4882a2e 100644 --- a/packages/demo-app-ts/src/demos/pipelineGroupsDemo/pipelineGroupsComponentFactory.tsx +++ b/packages/demo-app-ts/src/demos/pipelineGroupsDemo/pipelineGroupsComponentFactory.tsx @@ -22,7 +22,7 @@ const pipelineGroupsComponentFactory: ComponentFactory = ( } switch (type) { case 'Execution': - return DemoTaskGroup; + return withSelection()(DemoTaskGroup); case 'Task': return withSelection()(DemoTaskNode); case DEFAULT_SPACER_NODE_TYPE: