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

Method isScrollingOrAnimatingScroll

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

Source from the content-addressed store, hash-verified

1190 Point selfDirectionDependentVisual = convertParentVisualToSelfVisual(parentDirectionDependentVisual);
1191 for (ViewNode* childViewNode : *this) {
1192 if (childViewNode->canScroll(selfDirectionDependentVisual, scrollDirection)) {
1193 return true;
1194 }
1195 }
1196 return false;
1197}
1198
1199bool ViewNode::isScrollingOrAnimatingScroll() const {
1200 if (!isInScrollMode()) {
1201 return false;

Callers 1

Calls 2

isScrollingMethod · 0.80
isCurrentlyAnimatingMethod · 0.80

Tested by

no test coverage detected