Fix settings SliderItem steps count (#1356)
(cherry picked from commit 2ba7ed32802ffca1946d567b8afe49bfd3f4326e)
This commit is contained in:
parent
14f6fd7908
commit
366415d323
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user