Commit 217cdfca authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix(bpmn) fix y lane position computation

Closes BS-17819
parent beb36bd0
...@@ -175,7 +175,7 @@ public class BPMNShapeFactory { ...@@ -175,7 +175,7 @@ public class BPMNShapeFactory {
int index = lanes.indexOf(lane); int index = lanes.indexOf(lane);
int y = 0; int y = 0;
while (index > 0) { while (index > 0) {
y = +modelExporter.getBounds(modelExporter.getElementNotationNode(lanes.get(index - 1))).getHeight(); y = y + modelExporter.getBounds(modelExporter.getElementNotationNode(lanes.get(index - 1))).getHeight();
index--; index--;
} }
return y; return y;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment