From c6c4bcccc378f49b87b4ff89ca3277f0885d24fd Mon Sep 17 00:00:00 2001 From: Dragicafit Date: Wed, 12 Dec 2018 11:17:09 +0100 Subject: [PATCH] relocate SkinnableCursor --- osu.Game.Rulesets.Osu/UI/Cursor/GameplayCursor.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/osu.Game.Rulesets.Osu/UI/Cursor/GameplayCursor.cs b/osu.Game.Rulesets.Osu/UI/Cursor/GameplayCursor.cs index 188d3eef4c..94ca0d8bda 100644 --- a/osu.Game.Rulesets.Osu/UI/Cursor/GameplayCursor.cs +++ b/osu.Game.Rulesets.Osu/UI/Cursor/GameplayCursor.cs @@ -206,15 +206,15 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor cursorContainer.Scale = new Vector2(scale); } } - } - public class SkinnableCursor : SkinReloadableDrawable - { - public bool CursorExpand { get; set; } = true; - - protected override void SkinChanged(ISkinSource skin, bool allowFallback) + private class SkinnableCursor : SkinReloadableDrawable { - CursorExpand = skin.GetValue(s => s.CursorExpand) ?? true; + public bool CursorExpand { get; set; } = true; + + protected override void SkinChanged(ISkinSource skin, bool allowFallback) + { + CursorExpand = skin.GetValue(s => s.CursorExpand) ?? true; + } } } }