Fix settings SliderItem steps count (#1356)

(cherry picked from commit 2ba7ed32802ffca1946d567b8afe49bfd3f4326e)
This commit is contained in:
abdurisaq 2024-10-24 05:59:22 -07:00 committed by Jobobby04
parent 14f6fd7908
commit 366415d323

View File

@ -203,7 +203,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,
) )
} }
} }