mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
This commit is contained in:
parent
37ee99983f
commit
5148937d4d
@ -5018,7 +5018,8 @@ bool ImGui::Begin(const char* name, bool* p_open, const ImVec2& size_first_use,
|
||||
ImGui::SetNextWindowSize(size_first_use, ImGuiCond_FirstUseEver);
|
||||
|
||||
// Old API feature: override the window background alpha with a parameter.
|
||||
ImGui::SetNextWindowBgAlpha(bg_alpha_override);
|
||||
if (bg_alpha_override >= 0.0f)
|
||||
ImGui::SetNextWindowBgAlpha(bg_alpha_override);
|
||||
|
||||
return ImGui::Begin(name, p_open, flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user