未验证 提交 71d59cde 编写于 作者: J Jason Simmons 提交者: GitHub

Check for hover motion events in AndroidTouchProcessor (#8376)

Fixes https://github.com/flutter/flutter/issues/30122
上级 fdcbb40f
......@@ -277,6 +277,9 @@ public class AndroidTouchProcessor {
if (maskedAction == MotionEvent.ACTION_MOVE) {
return PointerChange.MOVE;
}
if (maskedAction == MotionEvent.ACTION_HOVER_MOVE) {
return PointerChange.HOVER;
}
if (maskedAction == MotionEvent.ACTION_CANCEL) {
return PointerChange.CANCEL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册