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

Method onDragStart

src/ui/Button.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28void Button::onDragStart(const DragStartEvent& e) {
29 if (e.button != GLFW_MOUSE_BUTTON_LEFT)
30 return;
31
32 if (quantity)
33 quantity->setMax();
34}
35
36
37void Button::onDragEnd(const DragEndEvent& e) {

Callers

nothing calls this directly

Calls 1

setMaxMethod · 0.80

Tested by

no test coverage detected