Commit 184b85d2 authored by Jörg Richter's avatar Jörg Richter

Fix: hide edge handle on remove in-map detail

See dmx-platform/dmx-platform#306
parent 61d4e748
Pipeline #8363 passed with stage
in 2 seconds
......@@ -211,6 +211,10 @@ export default class CytoscapeView {
resize () {
cy.resize()
}
hideEdgeHandle () {
eh.hide()
}
}
// ----------------------------------------------------------------------------------------------------- Private Methods
......
......@@ -977,6 +977,7 @@ function removeDetail (detail) {
detail.node.off('position') // FIXME: do not unregister *all* position handlers?
detail.node.removeClass('expanded')
detail.node.style({width: null, height: null}) // reset size
cyView.hideEdgeHandle()
return playRestoreAnimation()
}
......
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