| 160 | } |
| 161 | |
| 162 | void NodeComponent::Header::mouseDoubleClick(const MouseEvent& e) |
| 163 | { |
| 164 | if (powerButton.getBoundsInParent().expanded(2).contains(e.getPosition())) |
| 165 | { |
| 166 | parent.node->connectToBypass({}); |
| 167 | findParentComponentOfClass<DspNetworkGraph>()->repaint(); |
| 168 | return; |
| 169 | } |
| 170 | |
| 171 | parent.dataReference.setProperty(PropertyIds::Folded, !parent.isFolded(), parent.node->getUndoManager()); |
| 172 | parent.getParentComponent()->repaint(); |
| 173 | } |
| 174 | |
| 175 | |
| 176 | void NodeComponent::Header::resized() |
nothing calls this directly
no test coverage detected