TP-00000 | Fixed equal to zero bug (#162)
Co-authored-by: kishan kumar <kishan.kumar@navi.com>
This commit is contained in:
@@ -82,7 +82,7 @@ class SliderRendererV2(
|
||||
var thumbY by remember { mutableFloatStateOf(0f) }
|
||||
|
||||
fun saveSelectionToHandle(position: Int?) {
|
||||
if (position == null || position <= 0) return
|
||||
if (position == null || position < 0) return
|
||||
uiTronViewModel.handle["${property.layoutId.getInputId()}_${PREV_VALUE}"] =
|
||||
uiTronViewModel.handle.get<String>(property.layoutId.getInputId())
|
||||
uiTronViewModel.handle[property.layoutId.getInputId()] = stepToValue.value[position.toString()]
|
||||
|
||||
Reference in New Issue
Block a user