diff --git a/packages/extension/src/bpmn-elements/presets/Task/index.ts b/packages/extension/src/bpmn-elements/presets/Task/index.ts index 9e2d0380a..006741e0e 100644 --- a/packages/extension/src/bpmn-elements/presets/Task/index.ts +++ b/packages/extension/src/bpmn-elements/presets/Task/index.ts @@ -87,7 +87,7 @@ function boundaryEvent(lf: any) { minX: bbox.minX + offset, maxX: bbox.maxX - offset, minY: bbox.minY + offset, - maxY: bbox.maxX - offset, + maxY: bbox.maxY - offset, }; if (bx > outerBBox.minX && bx < outerBBox.maxX && by > outerBBox.minY && by < outerBBox.maxY) { if (!(bx > innerBBox.minX && bx < innerBBox.maxX && by > innerBBox.minY && by < innerBBox.maxY)) {