From c18f5e8317a5c269db53cb544d08b3bfd205e028 Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 13 Mar 2021 16:48:51 -0500 Subject: [PATCH] fix: correct some typos --- HUD Manager/Configuration/Migrator.cs | 2 +- HUD Manager/PluginUi.cs | 4 +++- HUD Manager/Structs/MeasuredFrom.cs | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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,