mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add empty RoomSettingsOverlay.
This commit is contained in:
26
osu.Game.Tests/Visual/TestCaseRoomSettings.cs
Normal file
26
osu.Game.Tests/Visual/TestCaseRoomSettings.cs
Normal file
@ -0,0 +1,26 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Screens.Multi.Screens.Match;
|
||||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCaseRoomSettings : OsuTestCase
|
||||
{
|
||||
public TestCaseRoomSettings()
|
||||
{
|
||||
RoomSettingsOverlay overlay;
|
||||
|
||||
Add(overlay = new RoomSettingsOverlay
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Height = 0.75f,
|
||||
});
|
||||
|
||||
AddStep(@"toggle", overlay.ToggleVisibility);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user