mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 04:53:06 +08:00
ScrollingTimelineContainer -> Timeline
This commit is contained in:
parent
f41d31e1db
commit
a84536d343
@ -8,12 +8,12 @@ using osu.Game.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
||||||
{
|
{
|
||||||
public class ScrollingTimelineContainer : ZoomableScrollContainer
|
public class Timeline : ZoomableScrollContainer
|
||||||
{
|
{
|
||||||
public readonly Bindable<bool> WaveformVisible = new Bindable<bool>();
|
public readonly Bindable<bool> WaveformVisible = new Bindable<bool>();
|
||||||
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
||||||
|
|
||||||
public ScrollingTimelineContainer()
|
public Timeline()
|
||||||
{
|
{
|
||||||
BeatmapWaveformGraph waveform;
|
BeatmapWaveformGraph waveform;
|
||||||
Child = waveform = new BeatmapWaveformGraph
|
Child = waveform = new BeatmapWaveformGraph
|
@ -24,7 +24,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the content zoom of this <see cref="ScrollingTimelineContainer"/>.
|
/// Gets or sets the content zoom of this <see cref="Timeline"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Zoom
|
public int Zoom
|
||||||
{
|
{
|
||||||
@ -76,7 +76,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
|||||||
private float startScrollOffset;
|
private float startScrollOffset;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Transforms <see cref="ScrollingTimelineContainer.zoom"/> to a new value.
|
/// Transforms <see cref="Timeline.zoom"/> to a new value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="focusPoint">The focus point in the waveform, in absolute coordinates local to the waveform.</param>
|
/// <param name="focusPoint">The focus point in the waveform, in absolute coordinates local to the waveform.</param>
|
||||||
/// <param name="waveformSize">The size of the waveform.</param>
|
/// <param name="waveformSize">The size of the waveform.</param>
|
||||||
|
Loading…
Reference in New Issue
Block a user