diff --git a/Themes/_fallback/Scripts/02 Actor.lua b/Themes/_fallback/Scripts/02 Actor.lua index 93e2541c62..53364d203e 100644 --- a/Themes/_fallback/Scripts/02 Actor.lua +++ b/Themes/_fallback/Scripts/02 Actor.lua @@ -152,7 +152,12 @@ function Actor:FullScreen() end function Actor:scale_or_crop_background() - self:cropto(SCREEN_WIDTH, SCREEN_HEIGHT) + if PREFSMAN:GetPreference("StretchBackgrounds") then + self:cropto(SCREEN_WIDTH, SCREEN_HEIGHT) + else + local graphicAspect = self:GetWidth()/self:GetHeight() + self:zoomto(SCREEN_HEIGHT*graphicAspect,SCREEN_HEIGHT) + end end function Actor:CenterX() self:x(SCREEN_CENTER_X) end