mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-25 17:16:35 +00:00
Nav: Honoring ImGuiItemFlags_NoNav which is used by color picker (#787)
This commit is contained in:
parent
e4bb9102f9
commit
23b9060468
@ -2275,7 +2275,7 @@ static void ImGui::NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Scoring for navigation
|
// Scoring for navigation
|
||||||
if (g.NavId != id)
|
if (g.NavId != id && !(item_flags & ImGuiItemFlags_NoNav))
|
||||||
{
|
{
|
||||||
#if IMGUI_DEBUG_NAV
|
#if IMGUI_DEBUG_NAV
|
||||||
// [DEBUG] Score all items in NavWindow at all times
|
// [DEBUG] Score all items in NavWindow at all times
|
||||||
|
Loading…
Reference in New Issue
Block a user