mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Merge branch 'master' into skin-editor-borrowed-dependencies
This commit is contained in:
@ -2,8 +2,10 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Testing;
|
using osu.Framework.Testing;
|
||||||
|
using osu.Game.Overlays;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
using osu.Game.Rulesets.Osu;
|
using osu.Game.Rulesets.Osu;
|
||||||
using osu.Game.Skinning.Editor;
|
using osu.Game.Skinning.Editor;
|
||||||
@ -16,6 +18,9 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
|
|
||||||
protected override bool Autoplay => true;
|
protected override bool Autoplay => true;
|
||||||
|
|
||||||
|
[Cached]
|
||||||
|
private readonly OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Blue);
|
||||||
|
|
||||||
[SetUpSteps]
|
[SetUpSteps]
|
||||||
public override void SetUpSteps()
|
public override void SetUpSteps()
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
private int messageIdCounter;
|
private int messageIdCounter;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void Setup()
|
public void Setup() => Schedule(() =>
|
||||||
{
|
{
|
||||||
if (API is DummyAPIAccess daa)
|
if (API is DummyAPIAccess daa)
|
||||||
{
|
{
|
||||||
@ -50,7 +50,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
|
|
||||||
testContainer.ChatOverlay.Show();
|
testContainer.ChatOverlay.Show();
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
|
|
||||||
private bool dummyAPIHandleRequest(APIRequest request)
|
private bool dummyAPIHandleRequest(APIRequest request)
|
||||||
{
|
{
|
||||||
|
@ -99,7 +99,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
if (highlightedMessage.Value == null)
|
if (highlightedMessage.Value == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var chatLine = chatLines.SingleOrDefault(c => c.Message.Equals(highlightedMessage.Value));
|
var chatLine = chatLines.FirstOrDefault(c => c.Message.Equals(highlightedMessage.Value));
|
||||||
if (chatLine == null)
|
if (chatLine == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user