mirror of
https://github.com/ppy/osu
synced 2025-02-08 06:07:14 +00:00
Fix field access + remove unneeded this
This commit is contained in:
parent
e8462ac134
commit
bfe1febef2
@ -108,7 +108,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
{
|
{
|
||||||
private Container cursorContainer;
|
private Container cursorContainer;
|
||||||
private Bindable<double> cursorScale;
|
private Bindable<double> cursorScale;
|
||||||
public Bindable<bool> cursorRotate;
|
private Bindable<bool> cursorRotate;
|
||||||
|
|
||||||
private const float base_scale = 0.15f;
|
private const float base_scale = 0.15f;
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
cursorScale.TriggerChange();
|
cursorScale.TriggerChange();
|
||||||
|
|
||||||
cursorRotate = config.GetBindable<bool> (OsuSetting.CursorRotation);
|
cursorRotate = config.GetBindable<bool> (OsuSetting.CursorRotation);
|
||||||
cursorRotate.ValueChanged += newValue => this.DragRotating = newValue;
|
cursorRotate.ValueChanged += newValue => DragRotating = newValue;
|
||||||
cursorRotate.TriggerChange();
|
cursorRotate.TriggerChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user