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

features/sdl_renderer3_multiviewports
omar ago%!(EXTRA string=8 years)
parent 919fc548ad
commit 03f5cd6ca1
  1. 1
      imgui.cpp

@ -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;

Loading…
Cancel
Save