((maxRange - minRange) / 0.1f).toInt() - 1 can result in negative values when the range is very small (less than 0.1). While maxOf(0, ...) prevents negative steps, this could result in 0 steps which may cause unexpected slider behavior. Consider using maxOf(1, ...) to ensure at least one step. #41