mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 03:58:47 +02:00
This commit is contained in:
@ -12011,8 +12011,7 @@ void ImGui::DebugNodeDrawList(ImGuiWindow* window, const ImDrawList* draw_list,
|
||||
}
|
||||
|
||||
ImDrawList* fg_draw_list = GetForegroundDrawList(window); // Render additional visuals into the top-most draw list
|
||||
IM_ASSERT(fg_draw_list != NULL); // For static analyzers
|
||||
if (window && IsItemHovered())
|
||||
if (window && IsItemHovered() && fg_draw_list)
|
||||
fg_draw_list->AddRect(window->Pos, window->Pos + window->Size, IM_COL32(255, 255, 0, 255));
|
||||
if (!node_open)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user