From 3a65bf5d59461a6488a975b434b31af48d2b306f Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 20 Jun 2026 15:14:13 +0200 Subject: [PATCH] fix(editor): keep the stock box fixed so simulating doesn't move its arrows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The in-flow value line grew the card downward, dropping its vertical centre — and the left/right handles with it, so connected pipes and links shifted. Render the value as an out-of-flow overlay below the box; the card keeps its size and the handles stay put. --- src/components/nodes/StockNode.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/nodes/StockNode.vue b/src/components/nodes/StockNode.vue index 13cdd6e..ef41ca5 100644 --- a/src/components/nodes/StockNode.vue +++ b/src/components/nodes/StockNode.vue @@ -44,11 +44,17 @@ const fill = computed(() => sim.fill(props.id))
-
- {{ formatValue(value) - }}{{ stock.unit }} -
+ +
+ {{ formatValue(value) + }}{{ stock.unit }} +