1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 17:17:24 +08:00

Adjust transition

This commit is contained in:
smoogipoo 2018-12-04 15:31:48 +09:00
parent a02e025f06
commit 6e5716c3f3
2 changed files with 1 additions and 13 deletions

View File

@ -105,10 +105,6 @@ namespace osu.Game.Tests.Visual
set => TypePicker.Current.Value = value; set => TypePicker.Current.Value = value;
} }
public TestRoomSettingsOverlay(Room room) : base()
{
}
public void ClickApplyButton(ManualInputManager inputManager) public void ClickApplyButton(ManualInputManager inputManager)
{ {
inputManager.MoveMouseTo(ApplyButton); inputManager.MoveMouseTo(ApplyButton);

View File

@ -7,7 +7,6 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Events; using osu.Framework.Input.Events;
using osu.Framework.Screens; using osu.Framework.Screens;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Multiplayer; using osu.Game.Online.Multiplayer;
using osu.Game.Overlays.SearchableList; using osu.Game.Overlays.SearchableList;
@ -156,7 +155,6 @@ namespace osu.Game.Screens.Multi.Screens.Lounge
protected override void OnSuspending(Screen next) protected override void OnSuspending(Screen next)
{ {
base.OnSuspending(next); base.OnSuspending(next);
Filter.Search.HoldFocus = false; Filter.Search.HoldFocus = false;
} }
@ -200,13 +198,7 @@ namespace osu.Game.Screens.Multi.Screens.Lounge
private void createRoom(Room room) private void createRoom(Room room)
{ {
openRoom(addRoom(room)); openRoom(addRoom(room));
Filter.Tabs.Current.Value = LoungeTab.Public;
this.Delay(WaveContainer.APPEAR_DURATION).Schedule(() =>
{
Filter.Tabs.Current.Value = LoungeTab.Public;
settings.Hide();
settings.FinishTransforms(true);
});
} }
private class RoomsFilterContainer : FillFlowContainer<DrawableRoom>, IHasFilterableChildren private class RoomsFilterContainer : FillFlowContainer<DrawableRoom>, IHasFilterableChildren