1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 09:22:54 +08:00

Remove breadcrumb fade

This commit is contained in:
smoogipoo 2020-06-25 22:28:31 +09:00
parent 44a8039e92
commit 8d47c908ad

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
@ -64,11 +63,6 @@ namespace osu.Game.Screens.Multi
{
if (screen.NewValue is IMultiplayerSubScreen multiScreen)
title.Screen = multiScreen;
if (breadcrumbs.Items.Any() && screen.NewValue == breadcrumbs.Items.First())
breadcrumbs.FadeOut(500, Easing.OutQuint);
else
breadcrumbs.FadeIn(500, Easing.OutQuint);
};
breadcrumbs.Current.TriggerChange();