feat(draw/BpmnRenderer): allow subclassing with custom priority
This commit is contained in:
parent
bc1afe16d6
commit
cc06e84cce
|
@ -29,9 +29,9 @@ var LABEL_STYLE = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
function BpmnRenderer(eventBus, styles, pathMap) {
|
function BpmnRenderer(eventBus, styles, pathMap, priority) {
|
||||||
|
|
||||||
BaseRenderer.call(this, eventBus);
|
BaseRenderer.call(this, eventBus, priority);
|
||||||
|
|
||||||
var textUtil = new TextUtil({
|
var textUtil = new TextUtil({
|
||||||
style: LABEL_STYLE,
|
style: LABEL_STYLE,
|
||||||
|
|
Loading…
Reference in New Issue