MCPcopy Create free account
hub / github.com/VCVRack/Rack / onHover

Method onHover

src/app/ModuleWidget.cpp:308–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

isSelectedMethod · 0.80
consumeMethod · 0.80

Tested by

no test coverage detected