mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Welded bindables.
This commit is contained in:
@ -43,7 +43,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
class OsuCursor : Container
|
||||
{
|
||||
private Container cursorContainer;
|
||||
private BindableDouble cursorScale;
|
||||
private Bindable<double> cursorScale;
|
||||
|
||||
public OsuCursor()
|
||||
{
|
||||
@ -54,7 +54,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures, OsuConfigManager config)
|
||||
{
|
||||
cursorScale = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize);
|
||||
cursorScale = config.GetWeldedBindable<double>(OsuConfig.CursorSize);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
Reference in New Issue
Block a user