From 40d1c9b7c2c8d28fd30f30c7d1d1f71d82ad576c Mon Sep 17 00:00:00 2001 From: Misterkister Date: Tue, 7 Feb 2017 17:14:59 -0600 Subject: [PATCH] fixed stepmania online title position in screennetevaluation for 4:3 and 16:9 ratio because I didn't test them hard enough. --- .../ScreenNetEvaluation decorations.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Themes/Til Death/BGAnimations/ScreenNetEvaluation decorations.lua b/Themes/Til Death/BGAnimations/ScreenNetEvaluation decorations.lua index 2ec65c06f7..e0f22d2cce 100644 --- a/Themes/Til Death/BGAnimations/ScreenNetEvaluation decorations.lua +++ b/Themes/Til Death/BGAnimations/ScreenNetEvaluation decorations.lua @@ -174,6 +174,22 @@ comboX = SMOX+250 end +--Had to fix this for 4:3 and 16:9. -Misterkister +if round(GetScreenAspectRatio(),5) == 1.77778 then + +titleY = SCREEN_CENTER_Y-40 +titleX = SCREEN_CENTER_X-32 + +end + +if round(GetScreenAspectRatio(),5) == 1.33333 then + +titleX = SCREEN_CENTER_X-32 +titleY = SCREEN_CENTER_Y-40 + +end + + function scoreBoard(pn,position) local t = Def.ActorFrame{ BeginCommand=function(self)