Skip to content

Commit

Permalink
prime31#689 initialize TextButton FontScaleX to 1 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-Mob committed Oct 17, 2021
1 parent 6e2bed5 commit 7b55182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Nez.Portable/UI/Widgets/TextButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ public class TextButtonStyle : ButtonStyle
/** Optional. */
public Color FontColor = Color.White;
public Color? DownFontColor, OverFontColor, CheckedFontColor, CheckedOverFontColor, DisabledFontColor;
public float FontScaleX, FontScaleY = 1;
public float FontScaleX = 1;
public float FontScaleY = 1;
public float FontScale { set { FontScaleX = value; FontScaleY = value; } }


Expand Down

0 comments on commit 7b55182

Please # to comment.