Skip to content

Commit

Permalink
fixed stepmania online title position
Browse files Browse the repository at this point in the history
in screennetevaluation for 4:3 and 16:9 ratio because I didn't test them hard enough.
  • Loading branch information
Misterkister authored Feb 7, 2017
1 parent 198424d commit 40d1c9b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Themes/Til Death/BGAnimations/ScreenNetEvaluation decorations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40d1c9b

Please sign in to comment.