From 5ffdffd37e70c076bae9a52f0fc685375e64022e Mon Sep 17 00:00:00 2001 From: baijiarui Date: Wed, 20 Dec 2023 14:30:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(extension):=20=E4=BF=AE=E5=A4=8Dtask?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E9=99=84=E5=8A=A0=E8=BE=B9=E7=95=8C=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=E7=9A=84=E5=9D=90=E6=A0=87=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/extension/src/bpmn-elements/presets/Task/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {