chore(context-pad): minor connect / remove tweek
* remove does not activate on dragstart * connect does not trigger default drag behavior
This commit is contained in:
parent
e34ca2feb2
commit
029c3d76aa
|
@ -87,6 +87,10 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
|||
var businessObject = element.businessObject;
|
||||
|
||||
function startConnect(event, element, autoActivate) {
|
||||
|
||||
// prevent dragging of connection symbol
|
||||
event.preventDefault();
|
||||
|
||||
connect.start(event, element, autoActivate);
|
||||
}
|
||||
|
||||
|
@ -348,8 +352,7 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
|||
className: 'bpmn-icon-trash',
|
||||
title: translate('Remove'),
|
||||
action: {
|
||||
click: removeElement,
|
||||
dragstart: removeElement
|
||||
click: removeElement
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue