1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

relocate SkinnableCursor

This commit is contained in:
Dragicafit 2018-12-12 11:17:09 +01:00
parent 4b073aed83
commit c6c4bcccc3

View File

@ -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<SkinConfiguration, bool>(s => s.CursorExpand) ?? true;
public bool CursorExpand { get; set; } = true;
protected override void SkinChanged(ISkinSource skin, bool allowFallback)
{
CursorExpand = skin.GetValue<SkinConfiguration, bool>(s => s.CursorExpand) ?? true;
}
}
}
}