TakuSemba/CropMe

transparency issue in overlay

sriharivishnu opened this issue · 2 comments

In CropOverlay.kt,

backgroundAlpha = a.getFraction(
            R.styleable.CropLayout_cropme_background_alpha,
                DEFAULT_BASE,
                DEFAULT_PBASE,
                DEFAULT_BACKGROUND_ALPHA
        ) * COLOR_DENSITY

should be

backgroundAlpha = a.getFraction(
            R.styleable.CropLayout_cropme_background_alpha,
                DEFAULT_BASE,
                DEFAULT_PBASE,
                DEFAULT_BACKGROUND_ALPHA
        )

Thank you for reporting the issue.
You are absolutely right, I will fix it on v2.0.7.

I'm closing this because v2.0.7 is released.