From cfa50ffb1ef080451223f2599945cb4d8321b6e3 Mon Sep 17 00:00:00 2001
From: Robin Leber <rleber98@gmail.com>
Date: Mon, 1 Jul 2024 11:35:52 +0200
Subject: [PATCH] FIX: pipebinding position in code

---
 src/functions/pipeBinding.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/functions/pipeBinding.js b/src/functions/pipeBinding.js
index 0122c82..4f82826 100644
--- a/src/functions/pipeBinding.js
+++ b/src/functions/pipeBinding.js
@@ -94,8 +94,8 @@ export const handlePipeBinding = (pipeMapping, editor) => {
   const outgoingPipes = pipeMapping.filter(
     (pipe) => pipe.pipeDirection === "out"
   );
-  let lineNumberIn = 16;
-  let lineNumberOut = 18 + incomingPipes.length * 4;
+  let lineNumberIn = 17;
+  let lineNumberOut = 19 + incomingPipes.length * 4;
 
   fillEditorwithCode(editor, incomingPipes, lineNumberIn);
   fillEditorwithCode(editor, outgoingPipes, lineNumberOut);
-- 
GitLab