mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Move items height out of PageSelector
This commit is contained in:
@ -10,8 +10,6 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
|
|||||||
{
|
{
|
||||||
public class PageSelector : CompositeDrawable
|
public class PageSelector : CompositeDrawable
|
||||||
{
|
{
|
||||||
public const int HEIGHT = 20;
|
|
||||||
|
|
||||||
public readonly BindableInt CurrentPage = new BindableInt(1);
|
public readonly BindableInt CurrentPage = new BindableInt(1);
|
||||||
public readonly BindableInt MaxPages = new BindableInt(1);
|
public readonly BindableInt MaxPages = new BindableInt(1);
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ namespace osu.Game.Graphics.UserInterface.PageSelector
|
|||||||
protected PageSelectorItem()
|
protected PageSelectorItem()
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.X;
|
AutoSizeAxes = Axes.X;
|
||||||
Height = PageSelector.HEIGHT;
|
Height = 20;
|
||||||
base.Content.Add(content = new CircularContainer
|
base.Content.Add(content = new CircularContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
Reference in New Issue
Block a user