(9edcbf86d) Added: More prominent graphics for when a tutorial objective is completed

This commit is contained in:
Joonas Rikkonen
2019-03-28 18:10:56 +02:00
parent 98935935c9
commit fde8cc1d6f
5 changed files with 50 additions and 9 deletions
@@ -107,10 +107,7 @@ namespace Barotrauma.Items.Components
{
var warningBtn = new GUIButton(new RectTransform(new Point(buttonWidth, buttonHeight), columnLeft.RectTransform)
{ AbsoluteOffset = new Point((i % buttonsPerRow) * (buttonWidth + spacing), (int)Math.Floor(i / (float)buttonsPerRow) * (buttonHeight + spacing)) },
TextManager.Get(warningTexts[i]), style: "IndicatorButton")
{
CanBeFocused = false
};
TextManager.Get(warningTexts[i]), style: "IndicatorButton");
var btnText = warningBtn.GetChild<GUITextBlock>();
btnText.Font = GUI.SmallFont;