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

Method onDragStart

src/ui/Slider.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Slider::onDragStart(const DragStartEvent& e) {
33 if (e.button != GLFW_MOUSE_BUTTON_LEFT)
34 return;
35
36 APP->window->cursorLock();
37}
38
39void Slider::onDragMove(const DragMoveEvent& e) {
40 if (quantity) {

Callers

nothing calls this directly

Calls 1

cursorLockMethod · 0.80

Tested by

no test coverage detected