Skip to content

Add .hidden to TileGrid and Group #2113

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 3 commits into from
Sep 4, 2019
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Sep 3, 2019

This allows for one to preserve ordering within a Group while
hiding something temporarily.

Fixes #1688

This allows for one to preserve ordering within a Group while
hiding something temporarily.

Fixes micropython#1688
@ladyada
Copy link
Member

ladyada commented Sep 4, 2019

yayy

dhalbert
dhalbert previously approved these changes Sep 4, 2019
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Will approve without the bool:1 changes if you want.

I did some gedanken experiments about hiding and unhiding nested objects in odd orders, and I wasn't able to generate inconsistent states. Looks good!

@tannewt
Copy link
Member Author

tannewt commented Sep 4, 2019

@dhalbert Done and done.

@tannewt
Copy link
Member Author

tannewt commented Sep 4, 2019

Ok, @dhalbert this passes all of the checks now.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

OK, great!

@dhalbert dhalbert merged commit fca440f into adafruit:master Sep 4, 2019
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.

displayio - allow ability to hide/show groups
3 participants