Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getHandleOffset
Method
getHandleOffset
src/ui/ScrollWidget.cpp:51–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
50
51
math::Vec ScrollWidget::getHandleOffset() {
52
return offset.minus(containerBox.pos).div(getContainerOffsetBound().size);
53
}
54
55
56
math::Vec ScrollWidget::getHandleSize() {
Callers
2
draw
Method · 0.80
onButton
Method · 0.80
Calls
2
div
Method · 0.80
minus
Method · 0.80
Tested by
no test coverage detected