From 15e6cff9f0b9afd60262fac9ad72a330a99702a9 Mon Sep 17 00:00:00 2001 From: Felipe Erias Date: Wed, 27 Nov 2024 01:00:57 +0900 Subject: [PATCH] Vertical scrollbar bug in updateScrollPosition --- .../shared/com/igalia/wolvic/ui/views/CustomFastScroller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java b/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java index f4682ccf404..a3dd1cbd9ee 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java @@ -361,7 +361,7 @@ void updateScrollPosition(int offsetX, int offsetY) { int verticalContentLength = mRecyclerView.computeVerticalScrollRange(); int verticalVisibleLength = mRecyclerViewHeight; mNeedVerticalScrollbar = verticalContentLength - verticalVisibleLength > 0 - && mRecyclerViewHeight >= mScrollbarMinimumRange || mNeedHorizontalScrollbar; + && mRecyclerViewHeight >= mScrollbarMinimumRange || mNeedVerticalScrollbar; int horizontalContentLength = mRecyclerView.computeHorizontalScrollRange(); int horizontalVisibleLength = mRecyclerViewWidth;