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

Method onDragHover

src/app/ModuleWidget.cpp:513–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void ModuleWidget::onDragHover(const DragHoverEvent& e) {
514 if (APP->scene->rack->isSelected(this)) {
515 e.consume(this);
516 }
517
518 OpaqueWidget::onDragHover(e);
519}
520
521json_t* ModuleWidget::toJson() {
522 json_t* moduleJ = APP->engine->moduleToJson(module);

Callers

nothing calls this directly

Calls 2

isSelectedMethod · 0.80
consumeMethod · 0.80

Tested by

no test coverage detected