From 7383a44f00529d738d1f835294c9513c4ae9801d Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 19 May 2022 00:28:25 -0500 Subject: [PATCH] temporary workaround for ImGui issue --- extern/imgui_patched/imgui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extern/imgui_patched/imgui.cpp b/extern/imgui_patched/imgui.cpp index 44ee4c75d..332591642 100644 --- a/extern/imgui_patched/imgui.cpp +++ b/extern/imgui_patched/imgui.cpp @@ -6133,6 +6133,8 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar node->WantHiddenTabBarToggle = true; else if (held && IsMouseDragging(0)) StartMouseMovingWindowOrNode(window, node, true); + else if (held) + node->WantHiddenTabBarToggle = true; // temporary workaround for issue #5325 // FIXME-DOCK: Ideally we'd use ImGuiCol_TitleBgActive/ImGuiCol_TitleBg here, but neither is guaranteed to be visible enough at this sort of size.. ImU32 col = GetColorU32(((held && hovered) || (node->IsFocused && !hovered)) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);