Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
void SvgButton::onDragEnd(const DragEndEvent& e) {
59
if (frames.size() >= 1) {
60
sw->setSvg(frames[0]);
61
fb->setDirty();
62
}
63
}
64
65
66
void SvgButton::onDragDrop(const DragDropEvent& e) {
Callers
nothing calls this directly
Calls
3
setDirty
Method · 0.80
size
Method · 0.45
setSvg
Method · 0.45
Tested by
no test coverage detected