Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ toggle
Method
toggle
src/Quantity.cpp:172–174 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
170
}
171
172
void Quantity::toggle() {
173
setValue(isMin() ? getMaxValue() : getMinValue());
174
}
175
176
void Quantity::moveValue(float deltaValue) {
177
setValue(getValue() + deltaValue);
Callers
1
onDragDrop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected