mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08:00
Function of changing FadeTime.
This commit is contained in:
parent
63ba3455fb
commit
cb8a07b653
@ -37,7 +37,8 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
new KeyCounterMouse(@"M2", MouseButton.Right),
|
||||
},
|
||||
};
|
||||
BindableInt bindable = new BindableInt { MinValue = 0, MaxValue = 1000, Default = 50 };
|
||||
BindableInt bindable = new BindableInt { MinValue = 0, MaxValue = 200, Default = 50 };
|
||||
bindable.ValueChanged += delegate { kc.FadeTime = bindable.Value; };
|
||||
AddButton("Add Random", () =>
|
||||
{
|
||||
Key key = (Key)((int)Key.A + RNG.Next(26));
|
||||
|
Loading…
Reference in New Issue
Block a user