Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getValue
Method
getValue
src/app/MenuBar.cpp:186–188 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
184
APP->scene->rackScroll->setZoom(std::pow(2.f, value));
185
}
186
float getValue() override {
187
return std::log2(APP->scene->rackScroll->getZoom());
188
}
189
float getMinValue() override {
190
return -2.f;
191
}
Callers
nothing calls this directly
Calls
2
log2
Function · 0.50
getZoom
Method · 0.45
Tested by
no test coverage detected