1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 20:53:04 +08:00

A bit of cleanup

This commit is contained in:
smoogipoo 2017-09-26 15:51:45 +09:00
parent 5953c1084e
commit 10e5fe40b2
3 changed files with 3 additions and 12 deletions

View File

@ -1,19 +1,11 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using OpenTK; using OpenTK;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes; 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.Graphics;
using osu.Game.Screens.Edit.Components.Timelines.Summary.Parts; 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 corner_radius = 5;
private const float contents_padding = 15; private const float contents_padding = 15;
private const float marker_bar_width = 2;
private readonly Drawable background; private readonly Drawable background;
@ -101,7 +92,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuGameBase osuGame, OsuColour colours) private void load(OsuColour colours)
{ {
background.Colour = colours.Gray1; background.Colour = colours.Gray1;
timelineBar.Colour = colours.Gray5; timelineBar.Colour = colours.Gray5;

View File

@ -5,7 +5,7 @@ using osu.Framework.Graphics.Shapes;
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
{ {
/// <summary> /// <summary>
/// Represents a spanning point on a <see cref="Timeline"/>. /// Represents a spanning point on a timeline part.
/// </summary> /// </summary>
internal class DurationVisualisation : Container internal class DurationVisualisation : Container
{ {

View File

@ -5,7 +5,7 @@ using osu.Framework.Graphics.Shapes;
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
{ {
/// <summary> /// <summary>
/// Represents a singular point on a <see cref="Timeline"/>. /// Represents a singular point on a timeline part.
/// </summary> /// </summary>
internal class PointVisualisation : Box internal class PointVisualisation : Box
{ {