Thank you @barmac!
I’ve got a question though. Is it intended that when target
is Lane resizeShape
of modeling
is executed instead of resizeLane
?
Shouldn’t it be something like this?
if (is(target, 'bpmn:Participant') || is(target, 'bpmn:Lane')) {
this._modeling.resizeLane(target, newBounds, null, hints);
} else {
this._modeling.resizeShape(target, newBounds, null, hints);
}