From d8178b96f15ef4cce304e43a63a4e83f85c8f62e Mon Sep 17 00:00:00 2001 From: Mutasem Date: Wed, 20 Oct 2021 12:59:09 +0200 Subject: [PATCH] push nodes above connectors --- packages/editor-ui/src/components/Node.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index 13fa629ced..4707b9eca8 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -404,21 +404,29 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext background-color: #67c23a; } +/** connector */ .jtk-connector { z-index:4; } -.jtk-connector.jtk-hover { - z-index: 5; -} - -.jtk-connector.jtk-success { +/** node */ +.jtk-endpoint-anchor { z-index: 5; } +/** node endpoints */ .jtk-endpoint { z-index:5; } + +.jtk-connector.jtk-dragging { + z-index: 6; +} + +.jtk-connector.jtk-hover { + z-index: 6; +} + .jtk-overlay { z-index:6; }