Commit 4178e98d authored by Jörg Richter's avatar Jörg Richter

Remove Windows context menu fix (it doesn't work)

See dmx-platform/dmx-platform#264
parent 2d3ca31f
Pipeline #7470 passed with stage
in 2 seconds
console.log('dm5-cytoscape-renderer 2019/07/19')
console.log('dm5-cytoscape-renderer 2019/07/19-2')
export default {
storeModule: require('./src/topicmap-model').default,
......
<template>
<div class="dm5-cytoscape-renderer" @mousedown.capture="mousedown">
<div class="cytoscape-container" ref="cytoscape-container" @contextmenu.capture.prevent="contextmenu"></div>
<div class="cytoscape-container" ref="cytoscape-container"></div>
<div class="measurement-box" ref="measurement-box"></div>
<dm5-detail-layer :detail-renderers="detailRenderers" :quill-config="quillConfig"></dm5-detail-layer>
</div>
......@@ -56,7 +56,6 @@ export default {
},
methods: {
mousedown (e) {
this.$store.dispatch('_setModifiers', {
alt: e.altKey,
......@@ -64,13 +63,6 @@ export default {
meta: e.metaKey,
shift: e.shiftKey
})
},
contextmenu (e) {
console.log('contextmenu')
e.preventDefault() // TODO: needed?
e.stopImmediatePropagation() // TODO: needed?
return false // TODO: needed?
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment