From 7dc34b84676e2fa3e8325218af8163b0f38c86cf Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 27 Jul 2018 21:52:33 -0400 Subject: [PATCH] stop being lazy about ui stuff --- .../BGAnimations/ScreenSelectMusic decorations/score.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua index ffbc84e1a9..98405a5daf 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua @@ -11,7 +11,7 @@ local nestedTabs = {"Local", "Online"} local frameX = 10 local frameY = 45 -local frameWidth = capWideScale(360,460) +local frameWidth = SCREEN_WIDTH * 0.56 local frameHeight = 350 local fontScale = 0.4 local offsetX = 10 @@ -499,7 +499,7 @@ t[#t+1] = LoadFont("Common Normal")..{ -- matches the built-in online score header t[#t+1] = Def.Quad{ InitCommand=function(self) - self:xy(-frameX/2, -offsetY):zoomto(SCREEN_WIDTH * 0.56 - 10,24):halign(0):diffuse(color("#111111")) + self:xy(-frameX/2, -offsetY):zoomto(frameWidth - 10,24):halign(0):diffuse(color("#111111")) end, }