Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kazatsuyu
Copy link
Contributor

ColorEditFlags::NO_ALPHA is used in ColorPicker4::build function, so there is no way to edit alpha value.
It was probably copied from ColorPicker3::build and should be removed.

@dbr
Copy link
Contributor

dbr commented Dec 4, 2021

Ahh I briefly confused the ColorEdit with the ColorPicker! ColorPicker4 which is the "inline color swatch" widget, and it indeed is permanently missing the alpha without this fix:

no_alpha_bug

Looks good, shall merge once all the CI bits are happy! Thanks!

@dbr dbr merged commit 352b5d0 into imgui-rs:main Dec 4, 2021
@kazatsuyu kazatsuyu deleted the fix/color-picker-alpha branch December 4, 2021 05:05
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