From f91be6cf9f126b1c8daa1762dec4e8c372616675 Mon Sep 17 00:00:00 2001 From: Colby Klein Date: Sat, 5 Oct 2013 21:00:54 -0700 Subject: [PATCH] Crop the background to fit instead of pillarboxing it (Sourced from shakesoda/stepmania.) --- Themes/_fallback/Scripts/02 Actor.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/02 Actor.lua b/Themes/_fallback/Scripts/02 Actor.lua index d13ebf13c0..93e2541c62 100644 --- a/Themes/_fallback/Scripts/02 Actor.lua +++ b/Themes/_fallback/Scripts/02 Actor.lua @@ -152,8 +152,7 @@ function Actor:FullScreen() end function Actor:scale_or_crop_background() - local graphicAspect = self:GetWidth()/self:GetHeight() - self:zoomto(SCREEN_HEIGHT*graphicAspect,SCREEN_HEIGHT) + self:cropto(SCREEN_WIDTH, SCREEN_HEIGHT) end function Actor:CenterX() self:x(SCREEN_CENTER_X) end