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; return;
} }
itemsFlow.ForEach(page => page.Selected = page.Page == newPage ? true : false); itemsFlow.ForEach(page => page.Selected = page.Page == newPage);
updateButtonsState(); updateButtonsState();
} }

View File

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