-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Text color of disabled menu item is incorrect #4478
Comments
As per #211 we introduced a general purpose "Disabled" mode and this introduced a little inconsistency. This makes the existence of I presume you are having an issue because your value for |
Thank you for your reply. In this case, calling ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul/* = 1.0f*/)
{
ImGuiStyle& style = GImGui->Style;
ImVec4 c = style.Colors[idx];
c.w *= style.Alpha * alpha_mul;
return ColorConvertFloat4ToU32(c);
} It looks like: well it should be: This issue remains despite how I adjust |
DisabledAlpha is baked into style.Alpha when going in Disabled mode. Are you sure you are on 1.84.2 and not on 1.84 or 1.84.1 ? |
After debugging, it's a bug of my part, solved now. Thank you for your time. |
Version/Branch of Dear ImGui:
Version: 1.84.2
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: any
Compiler: any
Operating System: any
My Issue/Question:
It always uses
ImGuiCol_Text
.The text was updated successfully, but these errors were encountered: