From 6be55c235a682b35fe6854799349bcd85daf1bd9 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Wed, 13 Oct 2021 13:23:48 +0200 Subject: [PATCH] increase hoverable area --- packages/editor-ui/src/views/NodeView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index a3ca4b6b51..6e3391c420 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -1318,7 +1318,7 @@ export default mixins( Connector: ['Bezier', { curviness: 150 }], Endpoint: ['Dot', { radius: 5 }], DragOptions: { cursor: 'pointer', zIndex: 5000 }, - PaintStyle: { strokeWidth: 2, stroke: getStyleTokenValue('--color-foreground-dark') }, + PaintStyle: { strokeWidth: 2, stroke: getStyleTokenValue('--color-foreground-dark'), outlineStroke: "transparent", outlineWidth: 16}, EndpointStyle: { radius: 9, fill: '#acd', stroke: 'red' }, HoverPaintStyle: { stroke: '#ff6d5a', lineWidth: 4 }, EndpointHoverStyle: { fill: '#ff6d5a', stroke: '#acd' },