diff --git a/osu.Game.Tests/Visual/TestCaseRoomSettings.cs b/osu.Game.Tests/Visual/TestCaseRoomSettings.cs index af41563e30..463002fbcb 100644 --- a/osu.Game.Tests/Visual/TestCaseRoomSettings.cs +++ b/osu.Game.Tests/Visual/TestCaseRoomSettings.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; +using osu.Framework.Graphics.Containers; using osu.Framework.Testing.Input; using osu.Game.Online.Multiplayer; using osu.Game.Screens.Multi.Components; @@ -38,9 +39,9 @@ namespace osu.Game.Tests.Visual { RelativeSizeAxes = Axes.Both, Height = 0.75f, + State = Visibility.Visible }); - AddStep(@"show", overlay.Show); assertAll(); AddStep(@"set name", () => overlay.CurrentName = @"Two Testing Room"); AddStep(@"set max", () => overlay.CurrentMaxParticipants = null); diff --git a/osu.Game/Screens/Multi/Components/RoomSettingsOverlay.cs b/osu.Game/Screens/Multi/Components/RoomSettingsOverlay.cs index 99afc437d0..467b936538 100644 --- a/osu.Game/Screens/Multi/Components/RoomSettingsOverlay.cs +++ b/osu.Game/Screens/Multi/Components/RoomSettingsOverlay.cs @@ -33,6 +33,7 @@ namespace osu.Game.Screens.Multi.Components private readonly Bindable maxParticipantsBind = new Bindable(); private readonly Container content; + private readonly OsuSpriteText typeLabel; protected readonly OsuTextBox NameField, MaxParticipantsField; @@ -115,6 +116,8 @@ namespace osu.Game.Screens.Multi.Components { RelativeSizeAxes = Axes.X, TabbableContentContainer = this, + Alpha = 0.2f, + ReadOnly = true, OnCommit = (sender, text) => apply(), }, },