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

Allow manually painting the CollapsingState icon #1592

Merged
merged 3 commits into from
May 11, 2022
Merged

Conversation

4JX
Copy link
Contributor

@4JX 4JX commented May 6, 2022

As described in #1569 (comment)

Perhaps it would be a good idea to also have a (or expose the existing) "paint the default icon" function? Or wrap the icon field in an Option?

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Looks good!

egui/src/containers/collapsing_header.rs Outdated Show resolved Hide resolved
@emilk emilk merged commit c47e20c into emilk:master May 11, 2022
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