I'm trying to have a custom border color on my windows when they're active, where the alpha of the border pulsates/pingpongs. It works fine when the windows are separate, but when they're docked the ImGuiCol_Border seems to be completely ignored. I can change the split color but it only changes the color of the line between the windows split, not everything around the window. The other approach is for me to just manually draw a rect (via the drawlist) around my window when it gains focus, but I was trying to stick to what imgui has already built in instead of drawing my shapes over it.
I expect the border coloring would still take affect, docked or not.
ImGui::ShowDemoWindow(); // simply spawn any 2 windows, open up the style editor via Tools/Style Editor, change the color of the Border, observe how it changes the border of the 2 windows, now dock the windows into each other, notice how the border coloring is ignored.
Version/Branch of Dear ImGui:
Version: 1.79 WIP (17803) Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_win32.cpp + imgui_impl_dx11.cpp Compiler: MSVC Operating System: Win10
My Issue/Question:
I'm trying to have a custom border color on my windows when they're active, where the alpha of the border pulsates/pingpongs. It works fine when the windows are separate, but when they're docked the ImGuiCol_Border seems to be completely ignored. I can change the split color but it only changes the color of the line between the windows split, not everything around the window. The other approach is for me to just manually draw a rect (via the drawlist) around my window when it gains focus, but I was trying to stick to what imgui has already built in instead of drawing my shapes over it.
I expect the border coloring would still take affect, docked or not.
Standalone, minimal, complete and verifiable example: (see https://github.com/ocornut/imgui/issues/2261)