From 208205085a975669ba677ab9b96b55ed5d2c412e Mon Sep 17 00:00:00 2001 From: james-strauss-uwa Date: Fri, 19 Jan 2024 15:41:20 +0800 Subject: [PATCH] Swapped order of args in showPort --- src/GraphRenderer.ts | 4 ++-- templates/base.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GraphRenderer.ts b/src/GraphRenderer.ts index 78403e7fa..4f4843c41 100644 --- a/src/GraphRenderer.ts +++ b/src/GraphRenderer.ts @@ -122,7 +122,7 @@ ko.bindingHandlers.graphRendererPortPosition = { field = f break; case 'comment': - node = f + node = n field = null break; } @@ -1168,7 +1168,7 @@ export class GraphRenderer { } } - static showPort(field:Field,node:Node) :boolean { + static showPort(node: Node, field: Field) :boolean { const eagle = Eagle.getInstance(); if(node.isPeek()){ return true diff --git a/templates/base.html b/templates/base.html index daff48cb9..29579e170 100644 --- a/templates/base.html +++ b/templates/base.html @@ -85,14 +85,14 @@
-
+
-
+