diff --git a/sky/shell/platform/mojo/platform_view_mojo.cc b/sky/shell/platform/mojo/platform_view_mojo.cc index 1811baaed621c7c5d69760fd60af16322cf9c257..12efedf3721e0340b03ea18469b6f4ff68d38215 100644 --- a/sky/shell/platform/mojo/platform_view_mojo.cc +++ b/sky/shell/platform/mojo/platform_view_mojo.cc @@ -187,7 +187,7 @@ pointer::PointerPtr PlatformViewMojo::CreateEvent(pointer::PointerType type, moj pointer->radius_major = data->radius_major; pointer->radius_minor = data->radius_minor; pointer->orientation = data->orientation; - if (event->action != mojo::EventType::POINTER_UP || + if (event->action != mojo::EventType::POINTER_UP && event->action != mojo::EventType::POINTER_CANCEL) pointer_positions_[data->pointer_id] = { data->x, data->y }; return pointer.Pass();