mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-20 23:06:36 +00:00
Docking: Tweak and silencing PVS studio static analyzer (back to zero warnings among our selected ones).
This commit is contained in:
parent
f20725eada
commit
87883abd86
12
imgui.cpp
12
imgui.cpp
@ -11937,14 +11937,14 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node)
|
|||||||
if (node->ChildNodes[1])
|
if (node->ChildNodes[1])
|
||||||
DockNodeUpdate(node->ChildNodes[1]);
|
DockNodeUpdate(node->ChildNodes[1]);
|
||||||
|
|
||||||
// End host window
|
// Render outer borders last (after the tab bar)
|
||||||
if (beginned_into_host_window)
|
if (node->IsRootNode())
|
||||||
End();
|
RenderOuterBorders(host_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Render outer borders last (after the tab bar)
|
// End host window
|
||||||
if (node->IsRootNode() && host_window)
|
if (beginned_into_host_window) //-V1020
|
||||||
RenderOuterBorders(host_window);
|
End();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compare TabItem nodes given the last known DockOrder (will persist in .ini file as hint), used to sort tabs when multiple tabs are added on the same frame.
|
// Compare TabItem nodes given the last known DockOrder (will persist in .ini file as hint), used to sort tabs when multiple tabs are added on the same frame.
|
||||||
|
Loading…
Reference in New Issue
Block a user