mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
graph -> waveform
This commit is contained in:
parent
4586877239
commit
3c35a7a6ae
@ -16,14 +16,14 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
||||
{
|
||||
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
||||
|
||||
private readonly BeatmapWaveformGraph graph;
|
||||
private readonly BeatmapWaveformGraph waveform;
|
||||
|
||||
public ScrollingTimelineContainer()
|
||||
: base(Direction.Horizontal)
|
||||
{
|
||||
Masking = true;
|
||||
|
||||
Add(graph = new BeatmapWaveformGraph
|
||||
Add(waveform = new BeatmapWaveformGraph
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = OsuColour.FromHex("222"),
|
||||
@ -33,7 +33,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
||||
Content.AutoSizeAxes = Axes.None;
|
||||
Content.RelativeSizeAxes = Axes.Both;
|
||||
|
||||
graph.Beatmap.BindTo(Beatmap);
|
||||
waveform.Beatmap.BindTo(Beatmap);
|
||||
}
|
||||
|
||||
private float minZoom = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user