mirror of https://github.com/ppy/osu
Greatly increase the playfield scroll speed adjust step
It was so small previously that I believe many people didn't even realise it was working.
This commit is contained in:
parent
d32ac01614
commit
5e9a1961cb
|
@ -31,7 +31,7 @@ public abstract class ScrollingPlayfield : Playfield
|
|||
/// <summary>
|
||||
/// The step increase/decrease of the span of time visible by the length of the scrolling axes.
|
||||
/// </summary>
|
||||
private const double time_span_step = 50;
|
||||
private const double time_span_step = 500;
|
||||
|
||||
/// <summary>
|
||||
/// The span of time that is visible by the length of the scrolling axes.
|
||||
|
@ -88,10 +88,10 @@ protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
|||
switch (args.Key)
|
||||
{
|
||||
case Key.Minus:
|
||||
this.TransformBindableTo(VisibleTimeRange, VisibleTimeRange + time_span_step, 200, Easing.OutQuint);
|
||||
this.TransformBindableTo(VisibleTimeRange, VisibleTimeRange + time_span_step, 600, Easing.OutQuint);
|
||||
break;
|
||||
case Key.Plus:
|
||||
this.TransformBindableTo(VisibleTimeRange, VisibleTimeRange - time_span_step, 200, Easing.OutQuint);
|
||||
this.TransformBindableTo(VisibleTimeRange, VisibleTimeRange - time_span_step, 600, Easing.OutQuint);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue