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

Method onDragHover

src/app/RackWidget.cpp:228–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void RackWidget::onDragHover(const DragHoverEvent& e) {
229 // Set before calling children's onDragHover()
230 internal->mousePos = e.pos;
231
232 if (internal->selecting) {
233 internal->selectionEnd = internal->mousePos;
234 updateSelectionFromRect();
235 }
236
237 OpaqueWidget::onDragHover(e);
238}
239
240widget::Widget* RackWidget::getModuleContainer() {
241 return internal->moduleContainer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected