diff options
Diffstat (limited to 'code/ui/PlayerInfo.razor')
| -rw-r--r-- | code/ui/PlayerInfo.razor | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/code/ui/PlayerInfo.razor b/code/ui/PlayerInfo.razor index 53a71df..2acdef0 100644 --- a/code/ui/PlayerInfo.razor +++ b/code/ui/PlayerInfo.razor @@ -5,18 +5,18 @@ @inherits Panel
<style>
- playerinfo {
- position: absolute;
- left: 30px;
- bottom: 30px;
- background-color: rgba(0, 0, 0, 0.20);
- backdrop-filter-blur: 8px;
- display: flex;
- align-items: center;
- flex-direction: row;
- gap: 10px;
- padding: 10px;
- }
+playerinfo {
+ position: absolute;
+ left: 30px;
+ bottom: 30px;
+ background-color: rgba(0, 0, 0, 0.20);
+ backdrop-filter-blur: 8px;
+ display: flex;
+ align-items: center;
+ flex-direction: row;
+ gap: 10px;
+ padding: 10px;
+}
</style>
<Health Colour="@GetTeamColour()"></Health>
@@ -24,18 +24,18 @@ @code
{
- public string GetTeamColour()
- {
- var ClientPawn = Game.LocalPawn;
- if (ClientPawn is Player)
- {
- return TeamOperations.GetTeamColour(((Player)ClientPawn).CurrentTeam);
- }
- return "";
- }
+ public string GetTeamColour()
+ {
+ var ClientPawn = Game.LocalPawn;
+ if (ClientPawn is Player)
+ {
+ return TeamOperations.GetTeamColour(((Player)ClientPawn).CurrentTeam);
+ }
+ return "";
+ }
- protected override int BuildHash()
- {
- return GetTeamColour().GetHashCode();
- }
+ protected override int BuildHash()
+ {
+ return GetTeamColour().GetHashCode();
+ }
}
|
