mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
relocate SkinnableCursor
This commit is contained in:
parent
4b073aed83
commit
c6c4bcccc3
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user