Commit 33c22f35 authored by Jörg Richter's avatar Jörg Richter

Fix: don't show Edit/Reveal when hovering an URL in a locked detail

See dmx-platform/dmx-platform#266
parent 4178e98d
Pipeline #7486 passed with stage
in 2 seconds
console.log('dm5-cytoscape-renderer 2019/07/19-2')
export default {
storeModule: require('./src/topicmap-model').default,
comp: require('./src/components/dm5-cytoscape-renderer').default
......
......@@ -182,6 +182,19 @@ export default {
pointer-events: initial;
}
.dm5-detail.locked .dm5-value-renderer .field {
background-color: unset !important; /* fields of locked details never get white background */
}
.dm5-detail.locked .dm5-value-renderer button.edit, /* locked details never show the "Edit" button */
.dm5-detail.locked .dm5-value-renderer .hover-button { /* locked details never show the "Reveal" button */
visibility: hidden;
}
.dm5-detail.locked .dm5-value-renderer .dm5-child-topic { /* child topics of locked details never get blue border */
border-color: transparent;
}
.dm5-detail .button-panel {
position: absolute;
top: 0;
......
......@@ -527,10 +527,6 @@ function eventHandlers () {
render: e.renderedPosition
})
}
}).on('contextmenu', e => {
console.log('cy contextmenu', e)
e.preventDefault() // TODO: needed?
return false // TODO: needed?
}).on('dragfreeon', e => {
topicDrag(e.target)
}).on('viewport', () => {
......
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