chore(project): bump diagram-js dependency

Fixes text sometimes being selected during dragging.

* makes a ContextPad hack obsolete, too.
This commit is contained in:
Nico Rehwaldt 2017-12-22 15:49:00 +01:00
parent 01ed2bce68
commit 562674e74b
3 changed files with 4 additions and 8 deletions

View File

@ -94,10 +94,6 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
var businessObject = element.businessObject; var businessObject = element.businessObject;
function startConnect(event, element) { function startConnect(event, element) {
// prevent dragging of connection symbol
event.preventDefault();
connect.start(event, element); connect.start(event, element);
} }

6
package-lock.json generated
View File

@ -1633,9 +1633,9 @@
"dev": true "dev": true
}, },
"diagram-js": { "diagram-js": {
"version": "0.27.0", "version": "0.27.1",
"resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-0.27.0.tgz", "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-0.27.1.tgz",
"integrity": "sha512-ntk5Hiek20ucjLgGWjlZQmO3kcqiPciqDYZWBWvYDfzWK6lI2nSUTXc8WnkQKkiHnfboWPy9FHMpQocDYGpnvQ==", "integrity": "sha512-ahaMvshLl7YGZFNOKmKxo5lYu3bXkr/sWWy9efay/wXfTkjer2/672sMeE/wWQEebHFXqR06EJUYHaer5MwPJg==",
"requires": { "requires": {
"didi": "0.1.1", "didi": "0.1.1",
"hammerjs": "2.0.8", "hammerjs": "2.0.8",

View File

@ -76,7 +76,7 @@
}, },
"dependencies": { "dependencies": {
"bpmn-moddle": "^2.0.0", "bpmn-moddle": "^2.0.0",
"diagram-js": "^0.27.0", "diagram-js": "^0.27.1",
"diagram-js-direct-editing": "^0.22.0", "diagram-js-direct-editing": "^0.22.0",
"ids": "^0.2.0", "ids": "^0.2.0",
"inherits": "^2.0.1", "inherits": "^2.0.1",