Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ reset
Method
reset
src/app/RackScrollWidget.cpp:41–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
40
41
void RackScrollWidget::reset() {
42
offset = RACK_OFFSET * zoomWidget->getZoom() - math::Vec(30, 30);
43
}
44
45
46
math::Vec RackScrollWidget::getGridOffset() {
Callers
1
resetAction
Method · 0.45
Calls
2
Vec
Class · 0.85
getZoom
Method · 0.45
Tested by
no test coverage detected