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

Method cancelProcessAnimations

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:750–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748 auto strongSelf = weakSelf.lock();
749 if (strongSelf != nullptr) {
750 strongSelf->processAnimations(delta);
751 }
752 });
753
754 _enqueuedFrame = {eventId};
755}
756
757bool Layer::cancelProcessAnimations() {
758 if (!_enqueuedFrame || _root == nullptr) {
759 return false;
760 }

Callers

nothing calls this directly

Calls 2

valueMethod · 0.65
cancelEventMethod · 0.45

Tested by

no test coverage detected