Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Online.Multiplayer;
using osu.Game.Online.Multiplayer.MatchTypes.RankedPlay;
using osu.Game.Screens.OnlinePlay.Matchmaking.RankedPlay.Components;

namespace osu.Game.Screens.OnlinePlay.Matchmaking.RankedPlay.Intro
{
Expand All @@ -33,6 +34,9 @@ public IntroScreen()
[Resolved]
private IAPIProvider api { get; set; } = null!;

[Resolved]
private RankedPlayChatDisplay? chat { get; set; }

private Sample? windupSample;
private Sample? impactSample;
private Sample? swooshSample;
Expand Down Expand Up @@ -96,7 +100,11 @@ public void PlayIntroSequence(UserWithRating player, UserWithRating opponent, do
Scheduler.AddDelayed(() => swooshSample?.Play(), impactDelay + 3200);
}

Scheduler.AddDelayed(() => CornerPieceVisibility.Value = Visibility.Visible, delay);
Scheduler.AddDelayed(() =>
{
CornerPieceVisibility.Value = Visibility.Visible;
chat?.Show();
}, delay);

starRatingAnimation.Play(ref delay, (float)starRating);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public partial class RankedPlayScreen : OsuScreen, IPreviewTrackOwner, IHandlePr

private readonly Container stageOverlayContainer;
private readonly Container<RankedPlaySubScreen> screenContainer;
private readonly RankedPlayChatDisplay chat;

private RankedPlayBottomOrnament ornament = null!;
private IDisposable? ornamentOverlayRegistration;
Expand All @@ -104,6 +103,9 @@ public partial class RankedPlayScreen : OsuScreen, IPreviewTrackOwner, IHandlePr
private readonly Bindable<Visibility> cornerPieceVisibility = new Bindable<Visibility>();
private readonly Bindable<bool> showBeatmapBackground = new Bindable<bool>();

[Cached]
private readonly RankedPlayChatDisplay chat;

[Cached]
private readonly RankedPlayMatchInfo matchInfo;

Expand Down
Loading