We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f54804 commit 3774c29Copy full SHA for 3774c29
workspaces/ballerina/component-diagram/src/utils/diagram.ts
@@ -113,7 +113,7 @@ export function autoDistribute(engine: DiagramEngine) {
113
114
// Position unconnected listeners below, with spacing
115
unconnectedListeners.forEach((listenerNode, index) => {
116
- const yPosition = maxY + NODE_GAP_Y/2+ (index * (LISTENER_NODE_HEIGHT + NODE_GAP_Y/2));
+ const yPosition = maxY + NODE_GAP_Y/2 + (index * (LISTENER_NODE_HEIGHT + NODE_GAP_Y/2));
117
listenerNode.setPosition(listenerX, yPosition);
118
});
119
}
0 commit comments