mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
CheckBox -> Checkbox.
This commit is contained in:
@ -12,7 +12,7 @@ using osu.Framework.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public class Nub : CircularContainer, IStateful<CheckBoxState>
|
||||
public class Nub : CircularContainer, IStateful<CheckboxState>
|
||||
{
|
||||
public const float COLLAPSED_SIZE = 20;
|
||||
public const float EXPANDED_SIZE = 40;
|
||||
@ -84,9 +84,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
}
|
||||
|
||||
private CheckBoxState state;
|
||||
private CheckboxState state;
|
||||
|
||||
public CheckBoxState State
|
||||
public CheckboxState State
|
||||
{
|
||||
get
|
||||
{
|
||||
@ -98,10 +98,10 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
switch (state)
|
||||
{
|
||||
case CheckBoxState.Checked:
|
||||
case CheckboxState.Checked:
|
||||
fill.FadeIn(200, EasingTypes.OutQuint);
|
||||
break;
|
||||
case CheckBoxState.Unchecked:
|
||||
case CheckboxState.Unchecked:
|
||||
fill.FadeTo(0.01f, 200, EasingTypes.OutQuint); //todo: remove once we figure why containers aren't drawing at all times
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user