Skip to content

Commit

Permalink
fix(extension): 修复task判定附加边界事件时的坐标判定问题
Browse files Browse the repository at this point in the history
  • Loading branch information
baijiarui authored and wumail committed Dec 20, 2023
1 parent fb4bb27 commit 5ffdffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension/src/bpmn-elements/presets/Task/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 5ffdffd

Please sign in to comment.