mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09: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);
|
cursorContainer.Scale = new Vector2(scale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public class SkinnableCursor : SkinReloadableDrawable
|
private class SkinnableCursor : SkinReloadableDrawable
|
||||||
{
|
|
||||||
public bool CursorExpand { get; set; } = true;
|
|
||||||
|
|
||||||
protected override void SkinChanged(ISkinSource skin, bool allowFallback)
|
|
||||||
{
|
{
|
||||||
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…
x
Reference in New Issue
Block a user