thechiselgroup / biomixer

BioMixer
http://bio-mixer.appspot.com/
16 stars 13 forks source link

Node Menus Can Be Behind Other Nodes #439

Closed everbeek closed 9 years ago

everbeek commented 9 years ago

I need to move nodes up in the ordering within their svg:g container whenever they are clicked, or when their menu is clicked. The menu inherits their z-order, and currently, node menus can be unclickable because they end up behind other nodes.

everbeek commented 9 years ago

Easy to fix: add the hover over z-order change to the node menu indicator and menu itself. It already works when the node has been hovered over prior to clicking the menu indicator.

everbeek commented 9 years ago

This was a pain; you need to tell svg text elements that their font-weight is "inherit" in order to inherit from parents. Amazing.