From 7b551827b3afbb8e2757a2c436b214f0889505d3 Mon Sep 17 00:00:00 2001 From: TobiMob <69400800+Tobi-Mob@users.noreply.github.com> Date: Sun, 17 Oct 2021 22:16:16 +0200 Subject: [PATCH] #689 initialize TextButton FontScaleX to 1 instead of 0 --- Nez.Portable/UI/Widgets/TextButton.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Nez.Portable/UI/Widgets/TextButton.cs b/Nez.Portable/UI/Widgets/TextButton.cs index ae9c66d84..7e05a4e8a 100644 --- a/Nez.Portable/UI/Widgets/TextButton.cs +++ b/Nez.Portable/UI/Widgets/TextButton.cs @@ -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; } }