Skip to content

Commit

Permalink
fix fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThereDrD0 committed Jan 1, 2025
1 parent d7b399a commit 686da1b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Content.Client/Popups/PopupUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ public void DrawPopup(PopupSystem.PopupLabel popup, DrawingHandleScreen handle,

switch (popup.Type)
{
// Sunrise start
case PopupType.SmallFloating:
useHorizontalDirection = true;
break;
// Sunrise end
case PopupType.SmallCaution:
color = Color.Red;
break;
Expand All @@ -69,10 +74,16 @@ public void DrawPopup(PopupSystem.PopupLabel popup, DrawingHandleScreen handle,
color = Color.LightGray;
break;
case PopupType.MediumCaution:
font = _mediumFont;
color = Color.Red;
break;
// Sunrise start
case PopupType.MediumCautionFloating:
font = _mediumFont;
color = Color.Red;
useHorizontalDirection = true;
break;
// Sunrise end
case PopupType.Large:
font = _largeFont;
color = Color.LightGray;
Expand Down

0 comments on commit 686da1b

Please sign in to comment.