mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-26 04:32:44 +08:00
@ -18,6 +18,10 @@ export function isExpanded(element, di) {
|
||||
if (is(element, 'bpmn:SubProcess')) {
|
||||
di = di || getDi(element);
|
||||
|
||||
if (di && is(di, 'bpmndi:BPMNPlane')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return di && !!di.isExpanded;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user