From 8d19bafc19c99e42ef431e827391369b9176ab83 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Tue, 16 May 2017 17:04:05 +0900 Subject: [PATCH] Add ability to hold down speed-changing keys. --- osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs index 2461ed458f..2d99b4dac7 100644 --- a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs +++ b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs @@ -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; /// /// 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)