(fa5639a1d) Added: Space in the beginning of tutorial info frames to have indenting on all paragraphs

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:20:59 +03:00
parent 72b570f533
commit fefa1a067b
5 changed files with 3 additions and 4 deletions
@@ -208,7 +208,7 @@ namespace Barotrauma
for (int i = 0; i < lines.Length; i++)
{
GUI.Font.DrawString(spriteBatch, lines[i],
new Vector2((int)(GameMain.GraphicsWidth / 2.0f - GUI.Font.MeasureString(lines[i]).X / 2.0f), (int)(GameMain.GraphicsHeight * 0.78f + i * lineHeight)), Color.White);
new Vector2(GameMain.GraphicsWidth / 2.0f - GUI.Font.MeasureString(lines[i]).X / 2.0f, GameMain.GraphicsHeight * 0.78f + i * lineHeight), Color.White);
}
}