1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Use CircularContainer for nub (bumps framework).

This commit is contained in:
Dean Herbert 2017-02-08 17:12:37 +09:00
parent fcc8072262
commit 92c77263ed
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 2 additions and 6 deletions

@ -1 +1 @@
Subproject commit e7796f6060ebaa870bab797521201813f72cc699
Subproject commit 3811650c08bc47282a373d870e4d2203b38d275d

View File

@ -13,7 +13,7 @@ using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Graphics.UserInterface
{
class Nub : Container, IStateful<CheckBoxState>
class Nub : CircularContainer, IStateful<CheckBoxState>
{
public const float COLLAPSED_SIZE = 20;
public const float EXPANDED_SIZE = 40;
@ -27,10 +27,6 @@ namespace osu.Game.Graphics.UserInterface
{
Size = new Vector2(COLLAPSED_SIZE, 12);
Masking = true;
CornerRadius = Height / 2;
Masking = true;
BorderColour = Color4.White;
BorderThickness = border_width;