mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-22 01:54:21 +00:00
PathArcToFast: Minor renaming for clarification. Comments.
This commit is contained in:
parent
8c61a4eb4c
commit
6a4064e5f2
2 changed files with 5 additions and 5 deletions
|
|
@ -4388,7 +4388,7 @@ bool ImGui::Begin(const char* name, bool* p_open, const ImVec2& size_on_first_us
|
|||
bg_color_idx = ImGuiCol_PopupBg;
|
||||
else if ((flags & ImGuiWindowFlags_ChildWindow) != 0)
|
||||
bg_color_idx = ImGuiCol_ChildWindowBg;
|
||||
ImVec4 bg_color = style.Colors[bg_color_idx];
|
||||
ImVec4 bg_color = style.Colors[bg_color_idx]; // We don't use GetColorU32() because bg_alpha is assigned (not multiplied) below
|
||||
if (bg_alpha >= 0.0f)
|
||||
bg_color.w = bg_alpha;
|
||||
bg_color.w *= style.Alpha;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue