1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 07:09:53 +08:00

Add ability to hold down speed-changing keys.

This commit is contained in:
smoogipooo
2017-05-16 17:04:05 +09:00
Unverified
parent da932276e8
commit 8d19bafc19
+2 -5
View File
@@ -28,10 +28,10 @@ namespace osu.Game.Rulesets.Mania.UI
{
public const float HIT_TARGET_POSITION = 50;
private const float time_span_default = 20000;
private const float time_span_default = 5000;
private const float time_span_min = 10;
private const float time_span_max = 50000;
private const float time_span_step = 1000;
private const float time_span_step = 200;
/// <summary>
/// Default column keys, expanding outwards from the middle as more column are added.
@@ -187,9 +187,6 @@ namespace osu.Game.Rulesets.Mania.UI
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (args.Repeat)
return false;
if (state.Keyboard.ControlPressed)
{
switch (args.Key)