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

Clear image before drawing new one to prevent pages of different sizes being drawn over each other #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GKFX
Copy link
Contributor

@GKFX GKFX commented Aug 24, 2018

Screenshot of the problem below:
screenshot from 2018-08-24 15-13-17
Note that this does introduce a moment where there is no image and so the screen flashes black.

@dsanson
Copy link
Owner

dsanson commented Aug 25, 2018

In my own use, I'd rather occasionally have this problem than constantly have the momentary flash of black. I suppose it would be possible to keep track of the size of the previous image, and only do this if the new image is smaller...

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

Successfully merging this pull request may close these issues.

2 participants