-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
There was a problem hiding this 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 !
There was a problem hiding this 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!
There was a problem hiding this 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!
There was a problem hiding this 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!
Resolves issue: #3201