TakuSemba / CropMe

Extremely Smooth and Easy Cropping library for you
Apache License 2.0
420 stars 74 forks source link

transparency issue in overlay #17

Closed sriharivishnu closed 4 years ago

sriharivishnu commented 4 years ago

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
        )
TakuSemba commented 4 years ago

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

TakuSemba commented 4 years ago

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