Skip to content

Commit

Permalink
Change texture layout of portrait in large HUD
Browse files Browse the repository at this point in the history
Portrait will now follow aspect of large HUD - e.g. stretch a bit vertically when 4:3 enabled.
  • Loading branch information
Interkarma committed Dec 1, 2021
1 parent 5ba0e15 commit ce09920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Game/UserInterface/HUDLarge.cs
Expand Up @@ -172,7 +172,7 @@ void Setup()
Components.Add(compassPanel);

// Head
headPanel.BackgroundTextureLayout = BackgroundLayout.ScaleToFit;
headPanel.BackgroundTextureLayout = BackgroundLayout.StretchToFill;
headPanel.OnMouseClick += HeadPanel_OnMouseClick;
headPanel.OnRightMouseClick += HeadPanel_OnMouseClick;
Components.Add(headPanel);
Expand Down

0 comments on commit ce09920

Please sign in to comment.