Skip to content

Commit

Permalink
fix: use proper colors api
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 20, 2023
1 parent 4c62bb2 commit 1d3bc34
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
isSequenceFlow
} from '../../simulator/util/ModelUtil';

const COLOR_ID = 'inclusive-gateway-settings';


export default function InclusiveGatewaySettings(
eventBus, elementRegistry,
Expand Down Expand Up @@ -103,7 +105,7 @@ InclusiveGatewaySettings.prototype._setActiveOutgoing = function(gateway, active
SELECTED_COLOR : NOT_SELECTED_COLOR;
const stroke = this._simulationStyles.get(style);

Check warning on line 106 in lib/features/inclusive-gateway-settings/InclusiveGatewaySettings.js

View check run for this annotation

Codecov / codecov/patch

lib/features/inclusive-gateway-settings/InclusiveGatewaySettings.js#L106

Added line #L106 was not covered by tests

this._elementColors.set(outgoing, {
this._elementColors.add(outgoing, COLOR_ID, {

Check warning on line 108 in lib/features/inclusive-gateway-settings/InclusiveGatewaySettings.js

View check run for this annotation

Codecov / codecov/patch

lib/features/inclusive-gateway-settings/InclusiveGatewaySettings.js#L108

Added line #L108 was not covered by tests
stroke
});
});
Expand Down

0 comments on commit 1d3bc34

Please sign in to comment.