diff --git a/unity/Assets/Scripts/Content/CommonStringKeys.cs b/unity/Assets/Scripts/Content/CommonStringKeys.cs index f3b00eedf..d4cf8bd1d 100644 --- a/unity/Assets/Scripts/Content/CommonStringKeys.cs +++ b/unity/Assets/Scripts/Content/CommonStringKeys.cs @@ -23,7 +23,7 @@ public class CommonStringKeys public static readonly StringKey PLUS = new StringKey(null,"+", false); public static readonly StringKey MINUS = new StringKey(null,"-", false); public static readonly StringKey HASH = new StringKey(null,"#", false); - public static readonly StringKey TAB = new StringKey(null, "➡", false); + public static readonly StringKey TAB = new StringKey(null, "➤", false); public static readonly StringKey EVENT = new StringKey(VAL, "EVENT"); public static readonly StringKey OK = new StringKey(VAL, "OK"); public static readonly StringKey CANCEL = new StringKey(VAL, "CANCEL"); diff --git a/unity/Assets/Scripts/Quest/NextStageButton.cs b/unity/Assets/Scripts/Quest/NextStageButton.cs index 0e43b23dd..c9d8cc186 100644 --- a/unity/Assets/Scripts/Quest/NextStageButton.cs +++ b/unity/Assets/Scripts/Quest/NextStageButton.cs @@ -101,14 +101,18 @@ public void Update() ui.SetFontStyle(FontStyle.Italic); // Next phase button + // Tweak border size so that arrow is centered, should be changed if using another character or picture ui = new UIElement(Game.UIPHASE); - ui.SetLocation(UIScaler.GetRight(-4f), UIScaler.GetBottom(-2.5f), 3, 2); + ui.SetLocation(UIScaler.GetRight(-4f), UIScaler.GetBottom(-2.5f), 3f, 2.25f); + new UIElementBorder(ui); + // make button slightly smaller so it does not overlap border + ui = new UIElement(Game.UIPHASE); + ui.SetLocation(UIScaler.GetRight(-3.95f), UIScaler.GetBottom(-2.45f), 2.9f, 1.9f); ui.SetText(CommonStringKeys.TAB); ui.SetFont(Game.Get().gameType.GetHeaderFont()); ui.SetFontSize(UIScaler.GetLargeFont()); ui.SetButton(Next); ui.SetBGColor(bgColor); - new UIElementBorder(ui); } // Button pressed