MCPcopy 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
172void Quantity::toggle() {
173 setValue(isMin() ? getMaxValue() : getMinValue());
174}
175
176void Quantity::moveValue(float deltaValue) {
177 setValue(getValue() + deltaValue);

Callers 1

onDragDropMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected