| 306 | } |
| 307 | |
| 308 | void ModuleWidget::onHover(const HoverEvent& e) { |
| 309 | if (APP->scene->rack->isSelected(this)) { |
| 310 | e.consume(this); |
| 311 | } |
| 312 | |
| 313 | OpaqueWidget::onHover(e); |
| 314 | } |
| 315 | |
| 316 | void ModuleWidget::onHoverKey(const HoverKeyEvent& e) { |
| 317 | if (e.action == GLFW_PRESS || e.action == GLFW_REPEAT) { |
nothing calls this directly
no test coverage detected