(aa84bc3c8) Fixed: UI Scaling issues in 4k

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:36:15 +03:00
parent 30eed1ed7c
commit be4db3ee12
5 changed files with 89 additions and 98 deletions
@@ -478,7 +478,7 @@ namespace Barotrauma
}
else
{
var downloadBtn = new GUIButton(new RectTransform(new Point(32, 32), rightColumn.RectTransform), "+", style: null)
var downloadBtn = new GUIButton(new RectTransform(new Point((int)(32 * GUI.Scale)), rightColumn.RectTransform), "+", style: null)
{
Font = GUI.LargeFont,
Color = new Color(38, 65, 86, 255),