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