mirror of
https://github.com/ppy/osu
synced 2025-01-09 15:49:32 +00:00
Move items height out of PageSelector
This commit is contained in:
parent
d3c2dc43bd
commit
753db9599a
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user