Fix settings SliderItem steps count (#1356)

This commit is contained in:
abdurisaq 2024-10-24 05:59:22 -07:00 committed by GitHub
parent c153ac01f5
commit 2ba7ed3280
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,7 +202,7 @@ fun SliderItem(
}, },
modifier = Modifier.weight(1.5f), modifier = Modifier.weight(1.5f),
valueRange = min.toFloat()..max.toFloat(), valueRange = min.toFloat()..max.toFloat(),
steps = max - min, steps = max - min - 1,
) )
} }
} }