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

Method onDragStart

src/app/Scene.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 void onDragStart(const DragStartEvent& e) override {
36 size = APP->window->getSize();
37 }
38
39 void onDragMove(const DragMoveEvent& e) override {
40 size = size.plus(e.mouseDelta);

Callers

nothing calls this directly

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected