From b916186e66aa3c02b72c6ca17455516512ed8049 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 14 Oct 2026 14:50:18 +0200 Subject: [PATCH] Style: update StyleColorsDark() for 1.93: amend for DockingEmptyBg. Amend a6fad9b and 9c50bd6. --- docs/CHANGELOG.txt | 4 ++-- imgui_draw.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.txt b/docs/CHANGELOG.txt index e3a78c7fd..3d138687b 100644 --- a/docs/CHANGELOG.txt +++ b/docs/CHANGELOG.txt @@ -449,10 +449,10 @@ Other Changes: Docking+Viewports Branch: - Style: - - Changed `ImGuiCol_DockingEmptyBg` value for `StyleColorsLight()`. + - Changed `ImGuiCol_DockingEmptyBg` value in dark/light styles. - Backends: - DX10, DX11, DX12: fixed crash when CreateSwapChain() or CreateRenderTargetView() - calls are failing. (#9546) + calls are failing. (#9546) [@lailoken] - GLFW: fixed applying mouse cursor shapes to secondary viewports, broken in 1.92.6 when introducing a cache. (#9545) [@JamesWrigley] - Metal: fixed resizing windows losing framebuffer scale. (#6828, #8856) [@laikoken] diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 7c4721016..5b3f23351 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -232,7 +232,7 @@ void ImGui::StyleColorsDark(ImGuiStyle* dst) colors[ImGuiCol_TabDimmedSelected] = ImLerp(colors[ImGuiCol_TabSelected], colors[ImGuiCol_TitleBg], 0.40f); colors[ImGuiCol_TabDimmedSelectedOverline] = ImVec4(0.50f, 0.50f, 0.50f, 0.00f); colors[ImGuiCol_DockingPreview] = colors[ImGuiCol_HeaderActive] * ImVec4(1.0f, 1.0f, 1.0f, 0.7f); - colors[ImGuiCol_DockingEmptyBg] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); + colors[ImGuiCol_DockingEmptyBg] = ImVec4(0.10f, 0.10f, 0.10f, 1.00f); colors[ImGuiCol_PlotLines] = ImVec4(0.61f, 0.61f, 0.61f, 1.00f); colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.43f, 0.35f, 1.00f); colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f);