mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use CircularContainer for nub (bumps framework).
This commit is contained in:
Submodule osu-framework updated: e7796f6060...3811650c08
@ -13,7 +13,7 @@ using osu.Framework.Graphics.UserInterface;
|
|||||||
|
|
||||||
namespace osu.Game.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 COLLAPSED_SIZE = 20;
|
||||||
public const float EXPANDED_SIZE = 40;
|
public const float EXPANDED_SIZE = 40;
|
||||||
@ -27,10 +27,6 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
Size = new Vector2(COLLAPSED_SIZE, 12);
|
Size = new Vector2(COLLAPSED_SIZE, 12);
|
||||||
|
|
||||||
Masking = true;
|
|
||||||
|
|
||||||
CornerRadius = Height / 2;
|
|
||||||
Masking = true;
|
|
||||||
BorderColour = Color4.White;
|
BorderColour = Color4.White;
|
||||||
BorderThickness = border_width;
|
BorderThickness = border_width;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user