diff --git a/sprd/frameworks/native/libs/ui/Region.cpp b/sprd/frameworks/native/libs/ui/Region.cpp
old mode 100644 (file)
new mode 100755 (executable)
index e01309b..0fc7906
--- a/sprd/frameworks/native/libs/ui/Region.cpp
+++ b/sprd/frameworks/native/libs/ui/Region.cpp
@@ -252,7 +252,8 @@ bool Region::contains(int x, int y) const {
const_iterator cur = begin();
const_iterator const tail = end();
while (cur != tail) {
- if (y >= cur->top && y < cur->bottom && x >= cur->left && x < cur->right) {
+ //if (y >= cur->top && y < cur->bottom && x >= cur->left && x < cur->right) {
+ if (y >= cur->top && y <= cur->bottom && x >= cur->left && x <= cur->right) {
return true;
}
cur++;
Android11 修改在导航栏边缘点击三个虚拟按键不灵敏的问题
于 2023-08-14 15:24:10 首次发布