Skip to content

Commit

Permalink
pass step position for more accurate comment positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Nov 12, 2024
1 parent 5508f3e commit 1125fb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/Workflow/Editor/modules/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ function stepToElkStep(
id: `${step.id}`,
height: roundingFunction(position.height),
width: roundingFunction(position.width),
x: step.position?.left,
y: step.position?.top,
layoutOptions: {
"elk.portConstraints": "FIXED_POS",
},
Expand Down

0 comments on commit 1125fb5

Please sign in to comment.