diff --git a/PlayerTags/Plugin.cs b/PlayerTags/Plugin.cs index 8c80811..40a4ee7 100644 --- a/PlayerTags/Plugin.cs +++ b/PlayerTags/Plugin.cs @@ -318,28 +318,28 @@ namespace PlayerTags newPayloads.Add(new EmphasisItalicPayload(true)); } - if (tag.TextColor.InheritedValue != null) - { - newPayloads.Add(new UIForegroundPayload(tag.TextColor.InheritedValue.Value)); - } - if (tag.TextGlowColor.InheritedValue != null) { newPayloads.Add(new UIGlowPayload(tag.TextGlowColor.InheritedValue.Value)); } - newPayloads.Add(new TextPayload(text)); - - if (tag.TextGlowColor.InheritedValue != null) + if (tag.TextColor.InheritedValue != null) { - newPayloads.Add(new UIGlowPayload(0)); + newPayloads.Add(new UIForegroundPayload(tag.TextColor.InheritedValue.Value)); } + newPayloads.Add(new TextPayload(text)); + if (tag.TextColor.InheritedValue != null) { newPayloads.Add(new UIForegroundPayload(0)); } + if (tag.TextGlowColor.InheritedValue != null) + { + newPayloads.Add(new UIGlowPayload(0)); + } + if (tag.IsTextItalic.InheritedValue != null && tag.IsTextItalic.InheritedValue.Value) { newPayloads.Add(new EmphasisItalicPayload(false)); diff --git a/PlayerTags/PluginConfigurationUI.cs b/PlayerTags/PluginConfigurationUI.cs index 8d310f1..dcdce94 100644 --- a/PlayerTags/PluginConfigurationUI.cs +++ b/PlayerTags/PluginConfigurationUI.cs @@ -559,7 +559,7 @@ namespace PlayerTags if (isDisabled) { ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.66f, 0.5f, 0.5f, 1), Strings.Loc_Static_Inherited); + ImGui.Text(Strings.Loc_Static_Inherited); } if (isDisabled) @@ -605,7 +605,7 @@ namespace PlayerTags if (isDisabled) { ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.66f, 0.5f, 0.5f, 1), Strings.Loc_Static_Inherited); + ImGui.Text(Strings.Loc_Static_Inherited); } if (isDisabled) @@ -676,7 +676,7 @@ namespace PlayerTags if (isDisabled) { ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.66f, 0.5f, 0.5f, 1), Strings.Loc_Static_Inherited); + ImGui.Text(Strings.Loc_Static_Inherited); } if (isDisabled) @@ -776,7 +776,7 @@ namespace PlayerTags if (isDisabled) { ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.66f, 0.5f, 0.5f, 1), Strings.Loc_Static_Inherited); + ImGui.Text(Strings.Loc_Static_Inherited); } if (isDisabled)