Docking: Documenting an issue. Renamed member of ImGuiDockFamily.

This commit is contained in:
omar
2018-12-04 16:38:27 +01:00
parent 6644f1ff64
commit b96b1f2412
3 changed files with 9 additions and 7 deletions

View File

@ -1539,6 +1539,8 @@ static void ShowDemoWindowWidgets()
ImGui::Checkbox("Hovered/Active tests after Begin() for title bar testing", &test_window);
if (test_window)
{
// FIXME-DOCK: This window cannot be docked within the ImGui Demo window, this will cause a feedback loop and get them stuck.
// Could we fix this through an ImGuiDockFamily feature? Or an API call to tag our parent as "don't skip items"?
ImGui::Begin("Title bar Hovered/Active tests", &test_window);
if (ImGui::BeginPopupContextItem()) // <-- This is using IsItemHovered()
{