Skip to content

Commit

Permalink
Fix swipe up on toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Jan 24, 2024
1 parent bba9353 commit bbd3e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/patches/Move-navigation-bar-to-bottom.patch
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,8 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layo
&& mScrollDirection == ScrollDirection.DOWN) {
RecordUserAction.record("MobileToolbarSwipeOpenStackView");
showLayout(LayoutType.TAB_SWITCHER, true);
+ } else if (mSupportSwipeUp && mOverviewLayout != null
+ && mScrollDirection == ScrollDirection.UP) {
+ } else if (mSupportSwipeUp && isTabSwitcherReady()
+ && mScrollDirection == ScrollDirection.UP) {
+ showLayout(LayoutType.TAB_SWITCHER, true);
} else if (mScrollDirection == ScrollDirection.LEFT
|| mScrollDirection == ScrollDirection.RIGHT) {
Expand Down

0 comments on commit bbd3e1a

Please sign in to comment.