Refactor(AppScrollbars): Reduce scroll bar width

This commit is contained in:
2024-08-08 10:26:48 +08:00
parent 596ad2ccbe
commit a3b1241fca

View File

@@ -87,8 +87,8 @@ private fun ScrollableState.DraggableScrollbarThumb(
modifier = Modifier
.run {
when (orientation) {
Orientation.Vertical -> width(12.dp).fillMaxHeight()
Orientation.Horizontal -> height(12.dp).fillMaxWidth()
Orientation.Vertical -> width(2.dp).fillMaxHeight()
Orientation.Horizontal -> height(2.dp).fillMaxWidth()
}
}
.scrollThumb(this, interactionSource)