mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Re-namespace and split out timeline parts from the SummaryTimeline
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
using OpenTK;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
|
||||
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a singular point on a <see cref="Timeline"/>.
|
||||
/// </summary>
|
||||
internal class PointVisualisation : Box
|
||||
{
|
||||
protected PointVisualisation(double startTime)
|
||||
{
|
||||
Origin = Anchor.TopCentre;
|
||||
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
Width = 1;
|
||||
EdgeSmoothness = new Vector2(1, 0);
|
||||
|
||||
RelativePositionAxes = Axes.X;
|
||||
X = (float)startTime;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user