Android75
03/10/2023, 4:12 AMAndroid75
03/10/2023, 4:14 AMBox(modifier = modifier
.alpha(1.0f)
.pointerInteropFilter {
if (enableClick) {
when (it.action) {
MotionEvent.ACTION_DOWN -> {
colorMatrixFilter = saturationOff
}
MotionEvent.ACTION_MOVE -> {}
MotionEvent.ACTION_UP -> {
colorMatrixFilter = saturationOn
onClickImage(toothInDenture)
}
MotionEvent.ACTION_CANCEL -> {
colorMatrixFilter = saturationOn
}
else -> true
}
}
true
}
Android75
03/10/2023, 4:15 AMAndroid75
03/10/2023, 4:17 AM