fix: correct some typos
This commit is contained in:
parent
c967299fb0
commit
01a5117983
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
namespace HUD_Manager.Structs {
|
||||
public enum MeasuredFrom : byte {
|
||||
TopLeft = 0,
|
||||
TopCentre = 1,
|
||||
TopMiddle = 1,
|
||||
TopRight = 2,
|
||||
MiddleLeft = 3,
|
||||
Middle = 4,
|
||||
|
|
Loading…
Reference in New Issue
Block a user