Style: update StyleColorsDark() for 1.93: amend for DockingEmptyBg.

Amend a6fad9b and 9c50bd6.
This commit is contained in:
ocornut 2026-10-14 14:50:18 +02:00
parent b94ba000e0
commit 4e02e84cbb
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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);