mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 21:00:52 +08:00
TestCase reset.
This commit is contained in:
@@ -22,6 +22,8 @@ namespace osu.Desktop.Tests
|
||||
IFrameBasedClock ourClock;
|
||||
protected override IFrameBasedClock Clock => ourClock;
|
||||
|
||||
protected MusicController mc;
|
||||
|
||||
public override void Load(BaseGame game)
|
||||
{
|
||||
base.Load(game);
|
||||
@@ -32,7 +34,8 @@ namespace osu.Desktop.Tests
|
||||
{
|
||||
base.Reset();
|
||||
ourClock.ProcessFrame();
|
||||
MusicController mc = new MusicController
|
||||
mc?.CurrentTrack?.Stop();
|
||||
mc = new MusicController
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre
|
||||
|
||||
Reference in New Issue
Block a user