I have some problems with click on a box. In a box...
# compose
a
I have some problems with click on a box. In a box i put from 1 to 10 image with different size and i would like to use clikc on all container box but sometime click is not perfect.In thread some detail
Copy code
Box(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
    }
i use a pointerInteropFilter because i have simualate click to change color of images