Skip to content

Commit 3774c29

Browse files
kanushkaCopilot
andauthored
Update workspaces/ballerina/component-diagram/src/utils/diagram.ts
Co-authored-by: Copilot <[email protected]>
1 parent 0f54804 commit 3774c29

File tree

1 file changed

+1
-1
lines changed
  • workspaces/ballerina/component-diagram/src/utils

1 file changed

+1
-1
lines changed

workspaces/ballerina/component-diagram/src/utils/diagram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function autoDistribute(engine: DiagramEngine) {
113113

114114
// Position unconnected listeners below, with spacing
115115
unconnectedListeners.forEach((listenerNode, index) => {
116-
const yPosition = maxY + NODE_GAP_Y/2+ (index * (LISTENER_NODE_HEIGHT + NODE_GAP_Y/2));
116+
const yPosition = maxY + NODE_GAP_Y/2 + (index * (LISTENER_NODE_HEIGHT + NODE_GAP_Y/2));
117117
listenerNode.setPosition(listenerX, yPosition);
118118
});
119119
}

0 commit comments

Comments
 (0)