mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Merge branch 'song-progress-graph' of https://github.com/DrabWeb/osu into song-progress-graph
This commit is contained in:
@ -21,9 +21,10 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
|
||||
Add(progress = new SongProgress
|
||||
{
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
RelativeSizeAxes = Axes.X
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Length = 100,
|
||||
});
|
||||
|
||||
AddButton("Toggle Bar", progress.ToggleVisibility);
|
||||
@ -40,7 +41,8 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
newValues.Add(RNG.Next(0, 11));
|
||||
}
|
||||
|
||||
progress.DisplayValues(newValues.ToArray());
|
||||
progress.Values = newValues.ToArray();
|
||||
progress.CurrentTime = RNG.Next(0, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user