MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setAtTop

Method setAtTop

snap_drawing/test/src/ScrollLayer_test.cpp:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void setAtTop() {
104 _scrollLayer->applyContentOffset(0, 0, Vector(0, 0));
105 }
106
107 void setAtBottom() {
108 _scrollLayer->applyContentOffset(0, _scrollLayer->getMaxContentOffsetY(), Vector(0, 0));

Callers

nothing calls this directly

Calls 2

VectorClass · 0.50
applyContentOffsetMethod · 0.45

Tested by

no test coverage detected