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

Method onDragEnd

src/app/SvgButton.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void SvgButton::onDragEnd(const DragEndEvent& e) {
59 if (frames.size() >= 1) {
60 sw->setSvg(frames[0]);
61 fb->setDirty();
62 }
63}
64
65
66void SvgButton::onDragDrop(const DragDropEvent& e) {

Callers

nothing calls this directly

Calls 3

setDirtyMethod · 0.80
sizeMethod · 0.45
setSvgMethod · 0.45

Tested by

no test coverage detected