代码微调
This commit is contained in:
@@ -8,7 +8,7 @@ import { isAny } from 'bpmn-js/lib/features/modeling/util/ModelingUtil'
|
||||
|
||||
import { getChildLanes } from 'bpmn-js/lib/features/modeling/util/LaneUtil'
|
||||
|
||||
import { hasPrimaryModifier } from 'diagram-js/lib/util/Mouse'
|
||||
// import { hasPrimaryModifier } from 'diagram-js/lib/util/Mouse'
|
||||
|
||||
/**
|
||||
* A provider for BPMN 2.0 elements context pad
|
||||
@@ -51,9 +51,9 @@ export default function ContextPadProvider(
|
||||
const context = event.context,
|
||||
shape = context.shape
|
||||
|
||||
if (!hasPrimaryModifier(event) || !contextPad.isOpen(shape)) {
|
||||
return
|
||||
}
|
||||
// if (!hasPrimaryModifier(event) || !contextPad.isOpen(shape)) {
|
||||
// return
|
||||
// }
|
||||
|
||||
const entries = contextPad.getEntries(shape)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user