소스 검색

Make scrollbar slightly chonkier

Closes #9728
arkon 1 년 전
부모
커밋
64ad25d1b5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt

+ 1 - 2
presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt

@@ -350,7 +350,6 @@ fun VerticalGridFastScroller(
                         },
                     )
                     .height(ThumbLength)
-                    .padding(horizontal = 8.dp)
                     .padding(end = endContentPadding)
                     .width(ThumbThickness)
                     .alpha(alpha.value)
@@ -427,7 +426,7 @@ object Scroller {
 }
 
 private val ThumbLength = 48.dp
-private val ThumbThickness = 8.dp
+private val ThumbThickness = 12.dp
 private val ThumbShape = RoundedCornerShape(ThumbThickness / 2)
 private val FadeOutAnimationSpec = tween<Float>(
     durationMillis = ViewConfiguration.getScrollBarFadeDuration(),