Skip to content

Commit

Permalink
#689 initialize TextButton FontScaleX to 1 instead of 0 (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-Mob authored Oct 18, 2021
1 parent 6e2bed5 commit 6ff901c
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 6ff901c

Please # to comment.