mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix field access + remove unneeded this
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user