v1.0.2.0: Restore Hotbar Layout, fix config right-click menu, hotbar fallback

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-01-31 02:29:13 -05:00
parent c63c054c5b
commit 6e0eb32a24
11 changed files with 101 additions and 16 deletions
+3 -2
View File
@@ -47,11 +47,12 @@ namespace HSUI.Helpers
ImGui.SameLine();
}
public static Node? DrawExportResetContextMenu(Node node, bool canExport, bool canReset)
public static Node? DrawExportResetContextMenu(Node node, bool canExport, bool canReset, string? uniqueId = null)
{
Node? nodeToReset = null;
string popupId = string.IsNullOrEmpty(uniqueId) ? "ResetContextMenu" : "ResetContextMenu_" + uniqueId;
if (ImGui.BeginPopupContextItem("ResetContextMenu"))
if (ImGui.BeginPopupContextItem(popupId))
{
if (canExport && ImGui.Selectable("Export"))
{