Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ cancelEvent
Method
cancelEvent
snap_drawing/src/snap_drawing/cpp/Layers/LayerRoot.cpp:244–246 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
242
if (_touchDispatcher.isEmpty()) {
243
return false;
244
}
245
if (!_touchDispatcher.getLastEvent()) {
246
return false;
247
}
248
249
const auto& lastEvent = _touchDispatcher.getLastEvent().value();
Callers
1
cancelProcessAnimations
Method · 0.45
Calls
1
cancel
Method · 0.65
Tested by
no test coverage detected