mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
temporary workaround for ImGui issue
This commit is contained in:
parent
dad1e71a33
commit
7383a44f00
1 changed files with 2 additions and 0 deletions
2
extern/imgui_patched/imgui.cpp
vendored
2
extern/imgui_patched/imgui.cpp
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue