Fix right-click menu for 'items for auto-buy'
This commit is contained in:
parent
92f6c9bc8a
commit
2ab7ae3c06
@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>5.1</Version>
|
<Version>5.2</Version>
|
||||||
<OutputPath>dist</OutputPath>
|
<OutputPath>dist</OutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -117,15 +117,6 @@ internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig
|
|||||||
ImGui.Selectable($"{item.Name}{(item.Limited ? $" {SeIconChar.Hyadelyn.ToIconString()}" : "")}",
|
ImGui.Selectable($"{item.Name}{(item.Limited ? $" {SeIconChar.Hyadelyn.ToIconString()}" : "")}",
|
||||||
false, ImGuiSelectableFlags.SpanAllColumns);
|
false, ImGuiSelectableFlags.SpanAllColumns);
|
||||||
|
|
||||||
if (wrap != null)
|
|
||||||
{
|
|
||||||
ImGui.SameLine(0, 0);
|
|
||||||
ImGui.SetCursorPos(pos);
|
|
||||||
ImGui.Image(wrap.ImGuiHandle, iconSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
wrap?.Dispose();
|
|
||||||
|
|
||||||
if (ImGui.BeginDragDropSource())
|
if (ImGui.BeginDragDropSource())
|
||||||
{
|
{
|
||||||
ImGui.SetDragDropPayload("DeliverooDragDrop", nint.Zero, 0);
|
ImGui.SetDragDropPayload("DeliverooDragDrop", nint.Zero, 0);
|
||||||
@ -157,6 +148,15 @@ internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig
|
|||||||
ImGui.EndPopup();
|
ImGui.EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wrap != null)
|
||||||
|
{
|
||||||
|
ImGui.SameLine(0, 0);
|
||||||
|
ImGui.SetCursorPos(pos);
|
||||||
|
ImGui.Image(wrap.ImGuiHandle, iconSize);
|
||||||
|
|
||||||
|
wrap.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
ImGui.EndDisabled();
|
ImGui.EndDisabled();
|
||||||
ImGui.PopID();
|
ImGui.PopID();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user