Final color adjustment

This commit is contained in:
r00telement
2021-12-08 23:00:12 +00:00
parent a87085e4c6
commit 0c615e02aa
2 changed files with 13 additions and 13 deletions

View File

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

View File

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