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

More compact Debug formatting of Color32 #5162

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

emilk
Copy link
Owner

@emilk emilk commented Sep 25, 2024

Especially when using the verbose {:#?}, which before would result in

Color32([
    255,
    0,
    0,
    255
])

but now becomes #ff_00_00_ff

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5162-emilk/compact-Color32-Debug
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit 9ef4d02 into master Sep 25, 2024
43 checks passed
@emilk emilk deleted the emilk/compact-Color32-Debug branch September 25, 2024 09:14
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.

1 participant