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 @@