mirror of
https://github.com/ocornut/imgui.git
synced 2025-01-29 19:17:24 +01:00
Revert "Nav: Fixed RenderNavHighlight() clipping, essentially revert 6ea90af6b76f2b9f7b86c12813bafd6f0408bdc0. (#787)"
This reverts commit 03f5cd6ca128090f71df7959e0f92c6b40076184.
This commit is contained in:
parent
db63e71f13
commit
6eff21ee5e
@ -4159,6 +4159,7 @@ void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFl
|
||||
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
||||
|
||||
ImRect display_rect = bb;
|
||||
display_rect.ClipWith(window->ClipRect);
|
||||
if (flags & ImGuiNavHighlightFlags_TypeDefault)
|
||||
{
|
||||
const float THICKNESS = 2.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user