Fix testcases

This commit is contained in:
smoogipoo
2018-03-15 18:24:57 +09:00
parent d05947ef48
commit 8fbaa86e64
5 changed files with 84 additions and 67 deletions

View File

@ -3,6 +3,7 @@
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
@ -15,7 +16,9 @@ namespace osu.Game.Tests.Visual
{
public TestCasePlaybackControl()
{
var playback = new PlaybackControl
var clock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
var playback = new PlaybackControl(clock)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,