1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-30 03:27:30 +01:00

Nav: Fixed RenderNavHighlight() clipping, essentially revert 6ea90af6b76f2b9f7b86c12813bafd6f0408bdc0. (#787)

This commit is contained in:
omar 2018-01-09 00:05:04 +01:00
parent 919fc548ad
commit 03f5cd6ca1

View File

@ -4147,7 +4147,6 @@ 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;