From 10e5fe40b29b75f046383014e8a4f247d051ab50 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Tue, 26 Sep 2017 15:51:45 +0900 Subject: [PATCH] A bit of cleanup --- .../Components/Timelines/Summary/SummaryTimeline.cs | 11 +---------- .../Summary/Visualisations/DurationVisualisation.cs | 2 +- .../Summary/Visualisations/PointVisualisation.cs | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/osu.Game/Screens/Edit/Components/Timelines/Summary/SummaryTimeline.cs b/osu.Game/Screens/Edit/Components/Timelines/Summary/SummaryTimeline.cs index 31c40861ea..0712936bf9 100644 --- a/osu.Game/Screens/Edit/Components/Timelines/Summary/SummaryTimeline.cs +++ b/osu.Game/Screens/Edit/Components/Timelines/Summary/SummaryTimeline.cs @@ -1,19 +1,11 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using System; -using System.Linq; using OpenTK; using osu.Framework.Allocation; -using osu.Framework.Configuration; -using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; -using osu.Framework.Input; -using osu.Game.Beatmaps; -using osu.Game.Beatmaps.ControlPoints; -using osu.Game.Beatmaps.Timing; using osu.Game.Graphics; using osu.Game.Screens.Edit.Components.Timelines.Summary.Parts; @@ -26,7 +18,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary { private const float corner_radius = 5; private const float contents_padding = 15; - private const float marker_bar_width = 2; private readonly Drawable background; @@ -101,7 +92,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary } [BackgroundDependencyLoader] - private void load(OsuGameBase osuGame, OsuColour colours) + private void load(OsuColour colours) { background.Colour = colours.Gray1; timelineBar.Colour = colours.Gray5; diff --git a/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/DurationVisualisation.cs b/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/DurationVisualisation.cs index 9718e9df5f..8926a2f55d 100644 --- a/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/DurationVisualisation.cs +++ b/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/DurationVisualisation.cs @@ -5,7 +5,7 @@ using osu.Framework.Graphics.Shapes; namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations { /// - /// Represents a spanning point on a . + /// Represents a spanning point on a timeline part. /// internal class DurationVisualisation : Container { diff --git a/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs b/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs index f0eb2ed499..bf52d28d97 100644 --- a/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs +++ b/osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs @@ -5,7 +5,7 @@ using osu.Framework.Graphics.Shapes; namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations { /// - /// Represents a singular point on a . + /// Represents a singular point on a timeline part. /// internal class PointVisualisation : Box {