Fix testcase players pausing on window unfocus

This commit is contained in:
smoogipoo
2019-05-10 15:39:25 +09:00
parent 5fa721fdab
commit 7c105fd99f
11 changed files with 36 additions and 28 deletions

View File

@ -0,0 +1,17 @@
// 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 osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual
{
public class TestPlayer : Player
{
protected override bool PauseOnFocusLost => false;
public TestPlayer(bool allowPause = true, bool showResults = true)
: base(allowPause, showResults)
{
}
}
}