mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 22:27:46 +08:00
Fix formatting ;_;
This commit is contained in:
parent
387705b2b6
commit
8438ea1267
@ -21,7 +21,6 @@ namespace osu.Game.Graphics.Cursor
|
||||
protected override Drawable CreateCursor() => new Cursor();
|
||||
|
||||
private Bindable<bool> cursorRotate;
|
||||
|
||||
private bool dragging;
|
||||
|
||||
private bool startRotation;
|
||||
@ -43,10 +42,8 @@ namespace osu.Game.Graphics.Cursor
|
||||
|
||||
// Always rotate in the direction of least distance
|
||||
float diff = (degrees - ActiveCursor.Rotation) % 360;
|
||||
if (diff < -180)
|
||||
diff += 360;
|
||||
if (diff > 180)
|
||||
diff -= 360;
|
||||
if (diff < -180) diff += 360;
|
||||
if (diff > 180) diff -= 360;
|
||||
degrees = ActiveCursor.Rotation + diff;
|
||||
|
||||
ActiveCursor.RotateTo(degrees, 600, Easing.OutQuint);
|
||||
@ -116,7 +113,6 @@ namespace osu.Game.Graphics.Cursor
|
||||
{
|
||||
private Container cursorContainer;
|
||||
private Bindable<double> cursorScale;
|
||||
|
||||
private const float base_scale = 0.15f;
|
||||
|
||||
public Sprite AdditiveLayer;
|
||||
|
@ -3,7 +3,6 @@
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Game.Configuration;
|
||||
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
public class DetailSettings : SettingsSubsection
|
||||
|
Loading…
x
Reference in New Issue
Block a user