Final color adjustment
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user