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

Method setChildrenIndexerNeedsUpdate

valdi/src/valdi/runtime/Context/ViewNode.cpp:1457–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455
1456Point ViewNode::getBoundsOriginPoint() const {
1457 if (isInScrollMode()) {
1458 return _scrollState->getDirectionDependentContentOffset();
1459 } else {
1460 return Point();
1461 }
1462}
1463
1464float ViewNode::getChildrenSpaceWidth() const {
1465 if (_scrollState == nullptr || !_scrollState->isInScrollMode()) {
1466 return _calculatedFrame.width;
1467 }

Callers 3

setScaleXMethod · 0.80
setScaleYMethod · 0.80
updateTranslationMethod · 0.80

Calls 1

setNeedsUpdateMethod · 0.45

Tested by

no test coverage detected