mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Update tests and logic
This commit is contained in:
@ -211,7 +211,6 @@ namespace osu.Game.Tournament.Screens.MapPool
|
||||
private void matchChanged(ValueChangedEvent<TournamentMatch> match)
|
||||
{
|
||||
mapFlows.Clear();
|
||||
mapFlows.Padding = new MarginPadding(5) { Horizontal = 100 };
|
||||
|
||||
int totalRows = 0;
|
||||
|
||||
@ -254,9 +253,11 @@ namespace osu.Game.Tournament.Screens.MapPool
|
||||
}
|
||||
}
|
||||
|
||||
if (totalRows > 9)
|
||||
mapFlows.Padding = new MarginPadding(5)
|
||||
{
|
||||
// remove horizontal padding to increase flow width to 3 panels
|
||||
mapFlows.Padding = new MarginPadding(5);
|
||||
Horizontal = totalRows > 9 ? 0 : 100
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user