1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:13:21 +08:00
This commit is contained in:
Andrei Zavatski 2020-01-04 22:05:34 +03:00
parent b1c5e437cc
commit 37482b2ad4
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
return;
}
itemsFlow.ForEach(page => page.Selected = page.Page == newPage ? true : false);
itemsFlow.ForEach(page => page.Selected = page.Page == newPage);
updateButtonsState();
}

View File

@ -32,7 +32,7 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
Masking = true,
Children = new Drawable[]
Children = new[]
{
Background = new Box
{