From 1842d80e282e6e40815c49f1074255f76e893ee2 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 7 Apr 2017 09:40:35 +0900 Subject: [PATCH] Update test case. --- osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs | 6 +++--- osu.Game/Screens/Play/SongProgress.cs | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs b/osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs index efce867c3f..13a77855d9 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.MathUtils; -using osu.Framework.Screens.Testing; +using osu.Framework.Testing; using osu.Game.Screens.Play; namespace osu.Desktop.VisualTests.Tests @@ -28,8 +28,8 @@ namespace osu.Desktop.VisualTests.Tests OnSeek = time => progress.CurrentTime = time, }); - AddButton("Toggle Bar", progress.ToggleVisibility); - AddButton("New Values", displayNewValues); + AddStep("Toggle Bar", progress.ToggleVisibility); + AddStep("New Values", displayNewValues); displayNewValues(); } diff --git a/osu.Game/Screens/Play/SongProgress.cs b/osu.Game/Screens/Play/SongProgress.cs index af677c9471..783b7611a2 100644 --- a/osu.Game/Screens/Play/SongProgress.cs +++ b/osu.Game/Screens/Play/SongProgress.cs @@ -5,7 +5,6 @@ using OpenTK; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Primitives; -using osu.Framework.Graphics.Transforms; using System; using osu.Game.Graphics; using osu.Framework.Allocation;