Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress changes everytime I finish brush whole img #24

Open
echnyee opened this issue Jan 21, 2019 · 2 comments
Open

progress changes everytime I finish brush whole img #24

echnyee opened this issue Jan 21, 2019 · 2 comments

Comments

@echnyee
Copy link

echnyee commented Jan 21, 2019

everytime I finish brush the whole image, the progress is different, sometimes 93%, sometimes 97%, and never 100%. Seems if I buttonup more times, the final progress will be higher, if I click down and drag a lot and not release the button, the progress will be lower. how this happen and can you help to fix, I'd like to have a 100% progress, thanks

@echnyee echnyee changed the title progress changes overtime progress changes over times Jan 21, 2019
@echnyee echnyee changed the title progress changes over times progress changes everytime I finish brush whole img Jan 21, 2019
@boblemarin
Copy link
Owner

The progress value is an approximation that is not meant to be exact, you should not expect to get 100%. I chose a cpu-friendly approach when implementing this feature, so don't expect miracles.

If you really have to display a progress bar for the user that will reach 100%, you can cheat a bit by multiplying the progress value by 1.12

@echnyee
Copy link
Author

echnyee commented Jan 22, 2019

Thanks for your reply. I will go for the cheat solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants