From c37f795dac828014b29897a3a1487be749dfdd30 Mon Sep 17 00:00:00 2001 From: ViAnh Date: Mon, 3 Feb 2025 16:45:41 +0700 Subject: [PATCH] Fix scroller handle being cut off --- .../koitharu/kotatsu/core/ui/list/fastscroll/FastScroller.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/core/ui/list/fastscroll/FastScroller.kt b/app/src/main/kotlin/org/koitharu/kotatsu/core/ui/list/fastscroll/FastScroller.kt index 0c31b0a1a..795999419 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/core/ui/list/fastscroll/FastScroller.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/core/ui/list/fastscroll/FastScroller.kt @@ -162,7 +162,7 @@ class FastScroller @JvmOverloads constructor( override fun onSizeChanged(w: Int, h: Int, oldW: Int, oldH: Int) { super.onSizeChanged(w, h, oldW, oldH) - viewHeight = h + viewHeight = h - paddingTop - paddingBottom } @SuppressLint("ClickableViewAccessibility")