ScratchView icon indicating copy to clipboard operation
ScratchView copied to clipboard

onRevealPercentChangedListener

Open RickiestRick opened this issue 4 years ago • 3 comments

onRevealPercentChangedListener dont recognice any scratches when percent is bigger than 0.50.

RickiestRick avatar Apr 07 '20 22:04 RickiestRick

This is because the library considers that if the scratch percentage is 50% then the image has been revealed.

public boolean isRevealed() {
    return mRevealPercent >= 0.50;
}

AnupKumarPanwar avatar Apr 10 '20 19:04 AnupKumarPanwar

@AnupKumarPanwar Isn't it possible to let us to change this percentage ?

passmanagerapp avatar Aug 25 '21 09:08 passmanagerapp

@AnupKumarPanwar ¿No es posible dejarnos cambiar este porcentaje?

AldazDev avatar Apr 02 '23 19:04 AldazDev