diff --git a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/Base.kt b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/Base.kt index e42a980..e2f93b3 100644 --- a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/Base.kt +++ b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/Base.kt @@ -34,7 +34,7 @@ enum class WaveMovement { */ LTR, /** - * Based on layout direction; on LTR move from right to left and on RTL move from left to right. + * Based on layout direction; on LTR move from right to left, on RTL move from left to right. */ AUTO } diff --git a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material/WavySlider.kt b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material/WavySlider.kt index b75f280..6299176 100644 --- a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material/WavySlider.kt +++ b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material/WavySlider.kt @@ -91,7 +91,7 @@ val SliderDefaults.ShouldFlatten: Boolean get() = defaultShouldFlatten * The final rendered height of the wave will be [waveHeight] + [waveThickness]. * @param wavePeriod the duration it takes for the wave to move by [waveLength] horizontally. * Setting to [Duration.ZERO] or outside `Int.MIN_VALUE..Int.MAX_VALUE` milliseconds stops the movement. - * @param waveMovement the horizontal movement of the whole wave. To stop the movement, see [wavePeriod]. + * @param waveMovement the horizontal movement of the whole wave. To stop the movement, use [wavePeriod]. * @param waveThickness the thickness of the active line (whether animated or not). * @param trackThickness the thickness of the inactive line. * @param shouldFlatten whether to decrease the wave height the farther it is from the thumb. diff --git a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material3/WavySlider.kt b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material3/WavySlider.kt index 6250f43..b241545 100644 --- a/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material3/WavySlider.kt +++ b/library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/material3/WavySlider.kt @@ -65,7 +65,7 @@ private val ThumbSize = DpSize(ThumbWidth, ThumbHeight) * The final rendered height of the wave will be [waveHeight] + [waveThickness]. * @param wavePeriod the duration it takes for the wave to move by [waveLength] horizontally. * Setting to [Duration.ZERO] or outside `Int.MIN_VALUE..Int.MAX_VALUE` milliseconds stops the movement. - * @param waveMovement the horizontal movement of the whole wave. To stop the movement, see [wavePeriod]. + * @param waveMovement the horizontal movement of the whole wave. To stop the movement, use [wavePeriod]. * @param waveThickness the thickness of the active line (whether animated or not). * @param trackThickness the thickness of the inactive line. * @param shouldFlatten whether to decrease the wave height the farther it is from the thumb. @@ -217,7 +217,7 @@ fun WavySlider( * The final rendered height of the wave will be [waveHeight] + [waveThickness]. * @param wavePeriod the duration it takes for the wave to move by [waveLength] horizontally. * Setting to [Duration.ZERO] or outside `Int.MIN_VALUE..Int.MAX_VALUE` milliseconds stops the movement. - * @param waveMovement the horizontal movement of the whole wave. To stop the movement, see [wavePeriod]. + * @param waveMovement the horizontal movement of the whole wave. To stop the movement, use [wavePeriod]. * @param waveThickness the thickness of the active line (whether animated or not). * @param trackThickness the thickness of the inactive line. * @param shouldFlatten whether to decrease the wave height the farther it is from the thumb.