From ee5a50c4a0ebade20d9ae84ea5698dfc2c73e95a Mon Sep 17 00:00:00 2001 From: DominicKarma42 <51094361+DominicKarma@users.noreply.github.com> Date: Thu, 30 Jul 2020 23:09:00 -0500 Subject: [PATCH] Log GUI scaling fix --- UI/DraedonsLogGUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/DraedonsLogGUI.cs b/UI/DraedonsLogGUI.cs index 33ef8f23e3..0cfecf9d92 100644 --- a/UI/DraedonsLogGUI.cs +++ b/UI/DraedonsLogGUI.cs @@ -179,7 +179,7 @@ namespace CalamityMod.UI Vector2 drawPosition; drawPosition.X = Main.screenWidth / 2 + (int)(285f * xResolutionScale); drawPosition.Y = yPageTop; - Vector2 scale = new Vector2(360f * xResolutionScale, MathHelper.Clamp(360f * yAspectRatio * yResolutionScale, 330f, 400f)); + Vector2 scale = new Vector2(360f * xResolutionScale, MathHelper.Clamp(360f * yAspectRatio, 330f, 400f) * yResolutionScale); scale /= texture.Size(); drawPosition.Y += texture.Height * 0.4f * scale.Y; spriteBatch.Draw(texture, drawPosition, null, Color.White, 0f, new Vector2(texture.Width * 0.5f, 0f), scale, SpriteEffects.None, 0f);