1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-02 01:17:24 +08:00
osu-lazer/osu.Desktop.Tests/Visual/TestCaseKeyConfiguration.cs

26 lines
680 B
C#
Raw Normal View History

2017-08-10 21:21:22 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-08-16 16:27:09 +08:00
using osu.Game.Overlays;
2017-08-10 21:21:22 +08:00
namespace osu.Desktop.Tests.Visual
{
public class TestCaseKeyConfiguration : OsuTestCase
{
2017-08-16 16:43:01 +08:00
private readonly KeyBindingOverlay overlay;
2017-08-10 21:21:22 +08:00
public override string Description => @"Key configuration";
public TestCaseKeyConfiguration()
{
2017-08-16 16:43:01 +08:00
Child = overlay = new KeyBindingOverlay();
2017-08-10 21:21:22 +08:00
}
protected override void LoadComplete()
{
base.LoadComplete();
2017-08-16 16:43:01 +08:00
overlay.Show();
2017-08-10 21:21:22 +08:00
}
}
}