提交 9236be13 编写于 作者: H Hixie

Fix mouse on linux.

上级 3f292530
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册