mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
use 2 columns for 17 to 32 players, 3 for 33-48, 4 otherwise
This commit is contained in:
parent
62e0ee998c
commit
2b471f31f2
|
@ -244,9 +244,12 @@ void CSpectator::OnRender()
|
|||
if(TotalCount > 16)
|
||||
{
|
||||
ColumnSize = 16;
|
||||
ScaleX = 2.0f;
|
||||
ScaleY = 0.5f;
|
||||
}
|
||||
if(TotalCount > 48)
|
||||
ScaleX = 2.0f;
|
||||
else if(TotalCount > 32)
|
||||
ScaleX = 1.5f;
|
||||
|
||||
// draw background
|
||||
float Width = 400*3.0f*Graphics()->ScreenAspect();
|
||||
|
|
Loading…
Reference in a new issue