nommiin/ImGui_GM

Selectable Item Overlap no longer works

Opened this issue · 0 comments

AlubJ commented

In v1.0.12 doing the following worked totally fine:

// Create Selectable Item
ImGui.Selectable("", false, ImGuiSelectableFlags.AllowItemOverlap);

// Collapse Arrow
ImGui.SetCursorPos(posX + 4, posY + 2);
ImGui.Image(collapseArrow, global.environment.dropdowns[i]);
if (ImGui.IsItemClicked()) global.environment.dropdowns[i] = !global.environment.dropdowns[i];

However, in v1.0.13 it no longer works as expected, where the code in the if statement doesn't execute.