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

Method setHorizontal

valdi/src/valdi/runtime/Context/ViewNodeChildrenIndexer.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void ViewNodeChildrenIndexer::setHorizontal(bool horizontal) {
29 if (_horizontal != horizontal) {
30 _horizontal = horizontal;
31 setNeedsUpdate();
32 }
33}
34
35void ViewNodeChildrenIndexer::updateVisibleBounds(const Frame& viewport) {
36 if (_cellSize == 0.0f) {

Callers 2

layoutFinishedMethod · 0.45
insertChildViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected