housekeeping

This commit is contained in:
scawful
2024-05-24 19:53:06 -04:00
parent 58a5febf8e
commit 4b4fe33dc6
4 changed files with 9 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ void BeginWindowWithDisplaySettings(const char* id, bool* active,
ImGuiWindowFlags flags) {
ImGuiStyle* ref = &ImGui::GetStyle();
static float childBgOpacity = 0.75f;
auto color = ImVec4(0.f, 0.f, 0.f, childBgOpacity);
auto color = ref->Colors[ImGuiCol_WindowBg];
ImGui::PushStyleColor(ImGuiCol_WindowBg, color);
ImGui::PushStyleColor(ImGuiCol_ChildBg, color);