Default scrollbars to dormant

pull/1837/head
TJ Dahunsi 2 years ago
parent ef85588d40
commit b27c1b3d0d

@ -180,7 +180,7 @@ private fun scrollbarThumbColor(
scrollInProgress: Boolean, scrollInProgress: Boolean,
interactionSource: InteractionSource, interactionSource: InteractionSource,
): Color { ): Color {
var state by remember { mutableStateOf(Active) } var state by remember { mutableStateOf(Dormant) }
val pressed by interactionSource.collectIsPressedAsState() val pressed by interactionSource.collectIsPressedAsState()
val hovered by interactionSource.collectIsHoveredAsState() val hovered by interactionSource.collectIsHoveredAsState()
val dragged by interactionSource.collectIsDraggedAsState() val dragged by interactionSource.collectIsDraggedAsState()

Loading…
Cancel
Save