mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +00:00
parent
348a0b2d99
commit
b233e7f6ed
@ -241,7 +241,9 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
|||||||
title: 'Change type',
|
title: 'Change type',
|
||||||
action: {
|
action: {
|
||||||
click: function(event, element) {
|
click: function(event, element) {
|
||||||
replaceMenu.open(getReplaceMenuPosition(element));
|
replaceMenu.open(assign(getReplaceMenuPosition(element), {
|
||||||
|
cursor: { x: event.x, y: event.y }
|
||||||
|
}), element);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -317,4 +319,4 @@ function isEventType(eventBo, type, definition) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return isType && isDefinition;
|
return isType && isDefinition;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user