diff --git a/HUD Manager/Configuration/Migrator.cs b/HUD Manager/Configuration/Migrator.cs index 37051ce..2fb71e2 100755 --- a/HUD Manager/Configuration/Migrator.cs +++ b/HUD Manager/Configuration/Migrator.cs @@ -150,7 +150,7 @@ namespace HUD_Manager.Configuration { MigrateV3(config); break; default: - PluginLog.Warning($"Tried to migration from an unknown version: {version}"); + PluginLog.Warning($"Tried to migrate from an unknown version: {version}"); goto DefaultConfig; } diff --git a/HUD Manager/PluginUi.cs b/HUD Manager/PluginUi.cs index 346168a..e27d897 100644 --- a/HUD Manager/PluginUi.cs +++ b/HUD Manager/PluginUi.cs @@ -369,7 +369,7 @@ namespace HUD_Manager { continue; } - if (!ImGui.CollapsingHeader(name)) { + if (!ImGui.CollapsingHeader($"{name}##{kind}")) { continue; } @@ -396,6 +396,8 @@ namespace HUD_Manager { toRemove.Add(kind); } + ImGui.Separator(); + void DrawEnabledCheckbox(ElementKind kind, ElementComponent component) { ImGui.NextColumn(); diff --git a/HUD Manager/Structs/MeasuredFrom.cs b/HUD Manager/Structs/MeasuredFrom.cs index 8221c6d..9a9744f 100755 --- a/HUD Manager/Structs/MeasuredFrom.cs +++ b/HUD Manager/Structs/MeasuredFrom.cs @@ -1,7 +1,7 @@ namespace HUD_Manager.Structs { public enum MeasuredFrom : byte { TopLeft = 0, - TopCentre = 1, + TopMiddle = 1, TopRight = 2, MiddleLeft = 3, Middle = 4,