Skip to content

Commit

Permalink
CHANGELOG: Fix gesture height on some scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed May 8, 2024
1 parent 47efd7d commit affb1ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ private boolean notWithinInsets(float x, float y, Point mDisplaySize, float mBot
}


float topLeft = backGestureHeightFractionLeft.get(1) / 100f;
float topRight = backGestureHeightFractionRight.get(1) / 100f;
float topLeft = backGestureHeightFractionLeft.size() == 2 ? backGestureHeightFractionLeft.get(1) / 100f : 1f;
float topRight = backGestureHeightFractionLeft.size() == 2 ? backGestureHeightFractionRight.get(1) / 100f : 1f;
float bottomLeft = backGestureHeightFractionLeft.size() == 2 ? backGestureHeightFractionLeft.get(0) / 100f : 0 / 100f;
float bottomRight = backGestureHeightFractionRight.size() == 2 ? backGestureHeightFractionRight.get(0) / 100f : 0 / 100f;

Expand Down

0 comments on commit affb1ac

Please sign in to comment.