Merge remote-tracking branch 'refs/remotes/upstream/master' into project-restructure

# Conflicts:
#	osu.Game/Beatmaps/Objects/Osu/OsuBaseHit.cs
This commit is contained in:
Dean Herbert 2016-11-14 22:08:30 +09:00
commit 9a8003f6fa
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit 1cb936a4fe9e699ee37deb34eed0b04bc06167e3
Subproject commit 87a5cd4ce48d6370b8e392378289825f4b4a2039

View File

@ -179,7 +179,9 @@ public MusicController()
protected override bool OnDrag(InputState state)
{
Vector2 change = (state.Mouse.Position - state.Mouse.PositionMouseDown.Value);
change.X = -change.X;
if ((Anchor & Anchor.x2) > 0)
change.X = -change.X;
change *= (float)Math.Pow(change.Length, 0.7f) / change.Length;