Skip to content

Add dirty rectangle tracking to Shape display element #3374

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

Merged
merged 6 commits into from
Sep 11, 2020

Conversation

kmatch98
Copy link

@kmatch98 kmatch98 commented Sep 4, 2020

Resolves issue: #3201

Copy link
Collaborator

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this on a CLUE and PyPortal using the code from the issue. This version does fix the problem on both devices with that code as it's written.

I noticed on the CLUE I could get back to non-refreshing state still by using lower values for the time.sleep(). I do think there is still something else going on there somehere.

The PyPortal seemed to handle it fine even at faster speeds that didn't work on the CLUE.

This is great extra functionality to be able to resize the Shape objects. Thanks for working on it @kmatch98 !

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job handling the mirroring and hooking into the refresh API. The core logic is a bit hard to read so I've suggested using helper macros to make it clearer. Thanks!

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better and better! Just a couple more things. Thanks!

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much clearer! Thank you!

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

Successfully merging this pull request may close these issues.

4 participants