Refactor(AppScrollbars): Reduce scroll bar width
This commit is contained in:
@@ -87,8 +87,8 @@ private fun ScrollableState.DraggableScrollbarThumb(
|
|||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.run {
|
.run {
|
||||||
when (orientation) {
|
when (orientation) {
|
||||||
Orientation.Vertical -> width(12.dp).fillMaxHeight()
|
Orientation.Vertical -> width(2.dp).fillMaxHeight()
|
||||||
Orientation.Horizontal -> height(12.dp).fillMaxWidth()
|
Orientation.Horizontal -> height(2.dp).fillMaxWidth()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.scrollThumb(this, interactionSource)
|
.scrollThumb(this, interactionSource)
|
||||||
|
|||||||
Reference in New Issue
Block a user