You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Back-ends: imgui_impl_win32.cpp + imgui_impl_dx12.cpp
Compiler: Visual Studio 2017
Operating System: Windows 10
My Issue/Question:
Docking operation change the background color of sub window
Screenshots/Video
[ before docking ]
[while docking ]
[after docking ]
// snippet code to create the sub window & set the background color
const ImU32 color =
root_node_id_ != -1 ? evaluate(graph_, root_node_id_) : IM_COL32(255, 20, 147, 255);
ImGui::PushStyleColor(ImGuiCol_WindowBg, color);
ImGui::Begin("output color");
ImGui::End();
ImGui::PopStyleColor();
The text was updated successfully, but these errors were encountered:
I've got an "almost working" version of it but it's not easy to fix the edge cases and they would lead to flickering (no background at all for 1-2 frames) in some cases.
Further comments are best posted in #2700. Thank you!
Version/Branch of Dear ImGui:
Version: v1.83 WIP
Branch: v1.83 WIP_(docking)_
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_win32.cpp + imgui_impl_dx12.cpp
Compiler: Visual Studio 2017
Operating System: Windows 10
My Issue/Question:
Docking operation change the background color of sub window
Screenshots/Video
[ before docking ]
[while docking ]
[after docking ]
// snippet code to create the sub window & set the background color
const ImU32 color =
root_node_id_ != -1 ? evaluate(graph_, root_node_id_) : IM_COL32(255, 20, 147, 255);
ImGui::PushStyleColor(ImGuiCol_WindowBg, color);
ImGui::Begin("output color");
ImGui::End();
ImGui::PopStyleColor();
The text was updated successfully, but these errors were encountered: