fix: correct some typos

This commit is contained in:
Anna 2021-03-13 16:48:51 -05:00
parent 81cf14f3ed
commit c18f5e8317
3 changed files with 5 additions and 3 deletions

View File

@ -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;
}

View File

@ -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();

View File

@ -1,7 +1,7 @@
namespace HUD_Manager.Structs {
public enum MeasuredFrom : byte {
TopLeft = 0,
TopCentre = 1,
TopMiddle = 1,
TopRight = 2,
MiddleLeft = 3,
Middle = 4,