1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

Fix field access + remove unneeded this

This commit is contained in:
gabixdev 2017-09-17 01:00:44 +02:00
parent e8462ac134
commit bfe1febef2

View File

@ -108,7 +108,7 @@ namespace osu.Game.Graphics.Cursor
{
private Container cursorContainer;
private Bindable<double> cursorScale;
public Bindable<bool> cursorRotate;
private Bindable<bool> cursorRotate;
private const float base_scale = 0.15f;
@ -151,7 +151,7 @@ namespace osu.Game.Graphics.Cursor
cursorScale.TriggerChange();
cursorRotate = config.GetBindable<bool> (OsuSetting.CursorRotation);
cursorRotate.ValueChanged += newValue => this.DragRotating = newValue;
cursorRotate.ValueChanged += newValue => DragRotating = newValue;
cursorRotate.TriggerChange();
}
}