Skip to content

Commit

Permalink
fix: make labels visible again (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Christophe-S authored Nov 28, 2023
1 parent 5fd52c9 commit 2d9dd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/custom-modeler/custom/CustomElementFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function CustomElementFactory(bpmnFactory, moddle) {
var type = attrs.type;

if (elementType === 'label') {
return self.baseCreate(elementType, assign({ type: 'label' }, DEFAULT_LABEL_SIZE, attrs));
return self._baseCreate(elementType, assign({ type: 'label' }, DEFAULT_LABEL_SIZE, attrs));
}

// add type to businessObject if custom
Expand Down

0 comments on commit 2d9dd7b

Please sign in to comment.