diff --git a/ARControl/ARControl.csproj b/ARControl/ARControl.csproj index 798839f..50b6ec1 100644 --- a/ARControl/ARControl.csproj +++ b/ARControl/ARControl.csproj @@ -73,9 +73,6 @@ - - - diff --git a/ARControl/Windows/ConfigWindow.cs b/ARControl/Windows/ConfigWindow.cs index 6eca13a..a3e08cb 100644 --- a/ARControl/Windows/ConfigWindow.cs +++ b/ARControl/Windows/ConfigWindow.cs @@ -148,9 +148,9 @@ internal sealed class ConfigWindow : Window } ImGui.OpenPopupOnItemClick($"###ctx{i}", ImGuiPopupFlags.MouseButtonRight); - if (ImGui.BeginPopup($"###ctx{i}")) + if (ImGui.BeginPopupContextItem($"###ctx{i}")) { - if (ImGui.Selectable($"Remove {venture.Name}")) + if (ImGui.MenuItem($"Remove {venture.Name}")) itemToRemove = item; ImGui.EndPopup();