mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Pass room into RoomSettingsOverlay
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Tests.Visual.Playlists
|
||||
{
|
||||
SelectedRoom.Value = new Room();
|
||||
|
||||
Child = settings = new TestRoomSettings
|
||||
Child = settings = new TestRoomSettings(SelectedRoom.Value)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
State = { Value = Visibility.Visible }
|
||||
@ -118,6 +118,11 @@ namespace osu.Game.Tests.Visual.Playlists
|
||||
public OsuDropdown<TimeSpan> DurationField => ((MatchSettings)Settings).DurationField;
|
||||
|
||||
public OsuSpriteText ErrorText => ((MatchSettings)Settings).ErrorText;
|
||||
|
||||
public TestRoomSettings(Room room)
|
||||
: base(room)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private class TestDependencies : OnlinePlayTestSceneDependencies
|
||||
|
Reference in New Issue
Block a user