From 852ece3a0e29a27771148c95fda51ba5e4e65e0c Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 13 Nov 2017 16:04:03 +0100 Subject: [PATCH] Fixed build (3e06450d276eefcd7bb368badab67e766d5a5751 not meant for master branch, but ok) --- imgui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imgui.cpp b/imgui.cpp index 55806a38..b085efe1 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -6014,7 +6014,9 @@ bool ImGui::ArrowButton(ImGuiID id, ImGuiDir dir, ImVec2 padding, ImGuiButtonFla bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); const ImU32 col = GetColorU32((hovered && held) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); +#ifdef IMGUI_HAS_NAV RenderNavHighlight(bb, id); +#endif RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); RenderTriangle(bb.Min + padding, dir, 1.0f);