tloadscreen: better calculations for positioning spacers

This allows the loadscreen to look good on both small and large resolutions
This commit is contained in:
Charles Dang 2016-03-31 11:33:08 +11:00
parent 876710af8c
commit 5afdb0f72a

View file

@ -43,9 +43,9 @@
[row]
[column]
[spacer]
height = "((screen_height - 400) / 4)"
height = "((screen_height - if(screen_height < 800, 400, 0)) / 4)"
[/spacer]
[/column]