mirror of
https://github.com/osukey/osukey.git
synced 2025-05-20 04:57:38 +09:00
Use ChatOverlayV2
in message notifier and tests
This commit is contained in:
parent
58d39734d0
commit
d2a49ca266
@ -208,7 +208,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
};
|
};
|
||||||
|
|
||||||
[Cached]
|
[Cached]
|
||||||
public ChatOverlay ChatOverlay { get; } = new ChatOverlay();
|
public ChatOverlayV2 ChatOverlay { get; } = new ChatOverlayV2();
|
||||||
|
|
||||||
private readonly MessageNotifier messageNotifier = new MessageNotifier();
|
private readonly MessageNotifier messageNotifier = new MessageNotifier();
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ namespace osu.Game.Online.Chat
|
|||||||
private INotificationOverlay notifications { get; set; }
|
private INotificationOverlay notifications { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private ChatOverlay chatOverlay { get; set; }
|
private ChatOverlayV2 chatOverlay { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private ChannelManager channelManager { get; set; }
|
private ChannelManager channelManager { get; set; }
|
||||||
@ -170,7 +170,7 @@ namespace osu.Game.Online.Chat
|
|||||||
public override bool IsImportant => false;
|
public override bool IsImportant => false;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours, ChatOverlay chatOverlay, INotificationOverlay notificationOverlay)
|
private void load(OsuColour colours, ChatOverlayV2 chatOverlay, INotificationOverlay notificationOverlay)
|
||||||
{
|
{
|
||||||
IconBackground.Colour = colours.PurpleDark;
|
IconBackground.Colour = colours.PurpleDark;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user