Apple
1
A follow-up to Bpmn-js-token-simulation color reset - #4 by philippfromme.
How to prevent elements from being neutral colored when token-simulation is active on latest version of bpmn-js-token-simulation (0.0.33)?
@philippfromme can you please answer?
nikku
2
In recent versions of token simulation this changed to what we initially posted. You now have to mock the ElementColors
service:
new BpmnJS({
additionalModules: [
bpmnTokenSimulationModule,
{
elementColors: [ 'value', {
add() { },
remove() { }
} ]
}
]
});
1 Like
Apple
3
Thanks a lot, it worked for me
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.