MCPcopy 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

Calls 1

cancelMethod · 0.65

Tested by

no test coverage detected