Move items height out of PageSelector

This commit is contained in:
Andrei Zavatski 2020-01-04 22:29:11 +03:00
parent d3c2dc43bd
commit 753db9599a
2 changed files with 1 additions and 3 deletions

View File

@ -10,8 +10,6 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
{
public class PageSelector : CompositeDrawable
{
public const int HEIGHT = 20;
public readonly BindableInt CurrentPage = new BindableInt(1);
public readonly BindableInt MaxPages = new BindableInt(1);

View File

@ -26,7 +26,7 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
protected PageSelectorItem()
{
AutoSizeAxes = Axes.X;
Height = PageSelector.HEIGHT;
Height = 20;
base.Content.Add(content = new CircularContainer
{
RelativeSizeAxes = Axes.Y,