MCPcopy 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
41void RackScrollWidget::reset() {
42 offset = RACK_OFFSET * zoomWidget->getZoom() - math::Vec(30, 30);
43}
44
45
46math::Vec RackScrollWidget::getGridOffset() {

Callers 1

resetActionMethod · 0.45

Calls 2

VecClass · 0.85
getZoomMethod · 0.45

Tested by

no test coverage detected