From 23e29c4cc61a5de74234dd4d80f0b25e8747a36a Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Mon, 28 Oct 2024 21:33:32 +0100 Subject: [PATCH] Fix --- ARControl/Windows/Config/VentureListTab.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARControl/Windows/Config/VentureListTab.cs b/ARControl/Windows/Config/VentureListTab.cs index e8dbea8..00e47bf 100644 --- a/ARControl/Windows/Config/VentureListTab.cs +++ b/ARControl/Windows/Config/VentureListTab.cs @@ -294,7 +294,7 @@ internal sealed class VentureListTab : ITab ImGui.GetWindowDrawList().AddRect(topLeft, bottomRight, ImGui.GetColorU32(ImGuiColors.DalamudGrey), 3f, ImDrawFlags.RoundCornersAll); - int newIndex = itemPositions.IndexOf(x => ImGui.IsMouseHoveringRect(x.TopLeft, x.BottomRight, true)); + int newIndex = itemPositions.FindIndex(x => ImGui.IsMouseHoveringRect(x.TopLeft, x.BottomRight, true)); if (newIndex >= 0 && oldIndex != newIndex) { itemToAdd = list.Items.Single(x => x.InternalId == _draggedItem.Value.Item2);