Restore the order of admin overlay elements (#35783)
admin overlay order fix
This commit is contained in:
@@ -85,10 +85,10 @@ internal sealed class AdminNameOverlay : Overlay
|
|||||||
|
|
||||||
var currentOffset = Vector2.Zero;
|
var currentOffset = Vector2.Zero;
|
||||||
|
|
||||||
args.ScreenHandle.DrawString(_font, screenCoordinates + currentOffset, playerInfo.Username, uiScale, playerInfo.Connected ? Color.Yellow : Color.White);
|
args.ScreenHandle.DrawString(_font, screenCoordinates + currentOffset, playerInfo.CharacterName, uiScale, playerInfo.Connected ? Color.Aquamarine : Color.White);
|
||||||
currentOffset += lineoffset;
|
currentOffset += lineoffset;
|
||||||
|
|
||||||
args.ScreenHandle.DrawString(_font, screenCoordinates + currentOffset, playerInfo.CharacterName, uiScale, playerInfo.Connected ? Color.Aquamarine : Color.White);
|
args.ScreenHandle.DrawString(_font, screenCoordinates + currentOffset, playerInfo.Username, uiScale, playerInfo.Connected ? Color.Yellow : Color.White);
|
||||||
currentOffset += lineoffset;
|
currentOffset += lineoffset;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(playerInfo.PlaytimeString) && playTime)
|
if (!string.IsNullOrEmpty(playerInfo.PlaytimeString) && playTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user