diff --git a/osu.Game/Graphics/UserInterface/OsuNub.cs b/osu.Game/Graphics/UserInterface/Nub.cs similarity index 94% rename from osu.Game/Graphics/UserInterface/OsuNub.cs rename to osu.Game/Graphics/UserInterface/Nub.cs index 78d8a8ab81..cd59c13d12 100644 --- a/osu.Game/Graphics/UserInterface/OsuNub.cs +++ b/osu.Game/Graphics/UserInterface/Nub.cs @@ -13,7 +13,7 @@ using osu.Framework.Graphics.UserInterface; namespace osu.Game.Graphics.UserInterface { - class OsuNub : Container, IStateful + class Nub : Container, IStateful { public const float COLLAPSED_SIZE = 20; public const float EXPANDED_SIZE = 40; @@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface const float border_width = 3; private Color4 glowingColour, idleColour; - public OsuNub() + public Nub() { Size = new Vector2(COLLAPSED_SIZE, 12); diff --git a/osu.Game/Graphics/UserInterface/OsuCheckbox.cs b/osu.Game/Graphics/UserInterface/OsuCheckbox.cs index e0e973e8f0..d48f860e74 100644 --- a/osu.Game/Graphics/UserInterface/OsuCheckbox.cs +++ b/osu.Game/Graphics/UserInterface/OsuCheckbox.cs @@ -66,7 +66,7 @@ namespace osu.Game.Graphics.UserInterface } } - private OsuNub nub; + private Nub nub; private SpriteText labelSpriteText; private AudioSample sampleChecked; private AudioSample sampleUnchecked; @@ -79,7 +79,7 @@ namespace osu.Game.Graphics.UserInterface Children = new Drawable[] { labelSpriteText = new OsuSpriteText(), - nub = new OsuNub + nub = new Nub { Anchor = Anchor.CentreRight, Origin = Anchor.CentreRight, diff --git a/osu.Game/Graphics/UserInterface/OsuSliderBar.cs b/osu.Game/Graphics/UserInterface/OsuSliderBar.cs index 989395359e..968f70364c 100644 --- a/osu.Game/Graphics/UserInterface/OsuSliderBar.cs +++ b/osu.Game/Graphics/UserInterface/OsuSliderBar.cs @@ -19,7 +19,7 @@ namespace osu.Game.Graphics.UserInterface private AudioSample sample; private double lastSampleTime; - private OsuNub nub; + private Nub nub; private Box leftBox, rightBox; public OsuSliderBar() @@ -45,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface Origin = Anchor.CentreRight, Alpha = 0.5f, }, - nub = new OsuNub + nub = new Nub { Origin = Anchor.TopCentre, State = CheckBoxState.Unchecked, diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index 0b8f65a12c..5f7c171cfe 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -68,7 +68,7 @@ - +