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;