From 4d4d46ad1bcb822075ff071eccb680472765ca97 Mon Sep 17 00:00:00 2001 From: Recrown Date: Thu, 28 Mar 2019 12:10:39 -0500 Subject: [PATCH] Changed origin to use floats instead of ints to accomodate for scaling. --- RecrownedAthenaeum/ScreenSystem/LoadingScreen.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecrownedAthenaeum/ScreenSystem/LoadingScreen.cs b/RecrownedAthenaeum/ScreenSystem/LoadingScreen.cs index 7ea9ddd..d166685 100644 --- a/RecrownedAthenaeum/ScreenSystem/LoadingScreen.cs +++ b/RecrownedAthenaeum/ScreenSystem/LoadingScreen.cs @@ -67,8 +67,8 @@ namespace RecrownedAthenaeum.ScreenSystem textureBounds.Height = (int)(height * proportion); textureBounds.X = (width) / 2; textureBounds.Y = (height) / 2; - origin.X = texture.Width / 2; - origin.Y = texture.Height / 2; + origin.X = texture.Width / 2f; + origin.Y = texture.Height / 2f; } void DoRotate(float deltaf)