From d3cf26c083394e3edb34f968fb8c5d2ee3b7fc6e Mon Sep 17 00:00:00 2001 From: Mutasem Date: Wed, 13 Oct 2021 17:56:24 +0200 Subject: [PATCH] fix clicking bug --- packages/editor-ui/src/views/NodeView.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 0e62c891d0..dcb2dc4124 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -108,7 +108,6 @@ import Vue from 'vue'; import { Connection, Overlay, - OverlaySpec, } from 'jsplumb'; import { MessageBoxInputData } from 'element-ui/types/message-box'; import { jsPlumb, Endpoint, OnConnectionBindInfo } from 'jsplumb'; @@ -2457,14 +2456,19 @@ export default mixins( > div { border: 2px solid var(--color-text-base); background-color: var(--color-background-xlight); - font-size: var(--font-size-2xs); border-radius: var(--border-radius-base); height: var(--spacing-l); width: var(--spacing-l); + cursor: pointer; + display: inline-flex; align-items: center; justify-content: center; - cursor: pointer; + + svg { + pointer-events: none; + font-size: var(--font-size-2xs); + } &:first-child { margin-right: var(--spacing-xs);