Skip to content

Commit

Permalink
fix: action bar submenu sliding gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed May 19, 2024
1 parent 0e43427 commit 0d14546
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public boolean onTouchEvent(MotionEvent event) {
View child = popupLayout.getItemAt(a);
child.getHitRect(rect);
Object tag = child.getTag();
if (tag instanceof Integer && (Integer) tag < 100) {
if (tag instanceof Integer) {
if (!rect.contains((int) x, (int) y)) {
child.setPressed(false);
child.setSelected(false);
Expand Down

0 comments on commit 0d14546

Please sign in to comment.