Merge pull request 'ui-redesign' (#41) from ui-redesign into 1.12.0
Reviewed-on: #41 Reviewed-by: defnotken <defnotken@noreply.git.lightless-sync.org>
This commit was merged in pull request #41.
This commit is contained in:
@@ -72,8 +72,15 @@ public class NameplateService : DisposableMediatorSubscriberBase
|
|||||||
|
|
||||||
if (_configService.Current.overrideFcTagColor)
|
if (_configService.Current.overrideFcTagColor)
|
||||||
{
|
{
|
||||||
handler.FreeCompanyTagParts.OuterWrap = CreateTextWrap(colors);
|
bool hasActualFcTag = playerCharacter.CompanyTag.TextValue.Length > 0;
|
||||||
handler.FreeCompanyTagParts.TextWrap = CreateTextWrap(colors);
|
bool isFromDifferentRealm = playerCharacter.HomeWorld.RowId != playerCharacter.CurrentWorld.RowId;
|
||||||
|
bool shouldColorFcArea = hasActualFcTag || (!hasActualFcTag && isFromDifferentRealm);
|
||||||
|
|
||||||
|
if (shouldColorFcArea)
|
||||||
|
{
|
||||||
|
handler.FreeCompanyTagParts.OuterWrap = CreateTextWrap(colors);
|
||||||
|
handler.FreeCompanyTagParts.TextWrap = CreateTextWrap(colors);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user