From 80c66135b2123edd61ff04cd48f769daa8caee18 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 22 Apr 2023 00:33:20 -0500 Subject: [PATCH] Fix nodes appearing in center when selected --- src/features/boards/BoardNode.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/features/boards/BoardNode.vue b/src/features/boards/BoardNode.vue index e493f93..1b3298a 100644 --- a/src/features/boards/BoardNode.vue +++ b/src/features/boards/BoardNode.vue @@ -3,7 +3,7 @@ class="boardnode" :class="{ [node.type]: true, isSelected, isDraggable }" :style="{ opacity: dragging?.id === node.id && hasDragged ? 0.5 : 1 }" - :transform="`translate(${position.x},${position.y})`" + :transform="`translate(${position.x},${position.y})${isSelected ? ' scale(1.2)' : ''}`" >