Skip to content

Commit

Permalink
[FEAT] Render Interrupting Message Intermediate Event Attached to an …
Browse files Browse the repository at this point in the history
…Activity Boundary (#338)
  • Loading branch information
csouchet authored Jun 24, 2020
1 parent d59c2d6 commit 64af756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/bpmn-support.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ The default rendering uses `white` as fill color and `black` as stroke color.
|

|Message Interrupting Boundary Event
|
|
|icon:check-circle-o[]
|The stroke & icon width may be adjusted
|===


Expand Down
2 changes: 1 addition & 1 deletion src/component/mxgraph/shape/event-shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class BoundaryEventShape extends IntermediateEventShape {

protected paintOuterShape(paintParameter: PaintParameter): void {
const isInterrupting = StyleUtils.getBpmnIsInterrupting(this.style);
if (isInterrupting === 'true' || isInterrupting === undefined) {
if ((isInterrupting === 'true' || isInterrupting === undefined) && StyleUtils.getBpmnEventKind(this.style) === ShapeBpmnEventKind.TIMER) {
paintParameter.c.setFillColor('yellow');
} else if (isInterrupting === 'false') {
paintParameter.c.setFillColor('LightPink');
Expand Down

0 comments on commit 64af756

Please sign in to comment.