various fixes

- make AllowSeeking a Bindable which fixes incorrect initial position and removes unnecessary variables
- make SongProgressInfo fixed height
This commit is contained in:
Unknown
2019-07-05 08:48:40 +02:00
parent ed22c23f37
commit b425df6c75
2 changed files with 22 additions and 29 deletions

View File

@ -111,10 +111,10 @@ namespace osu.Game.Tests.Visual.Gameplay
AddStep("display max values", displayMaxValues);
AddUntilStep("wait for graph", () => graph.CreationCount == 1);
AddStep("start", clock.Start);
AddStep("show bar", () => progress.AllowSeeking = true);
AddStep("show bar", () => progress.AllowSeeking.Value = true);
AddStep("hide graph", () => progress.CollapseGraph.Value = true);
AddStep("hide Bar", () => progress.AllowSeeking = false);
AddStep("show bar", () => progress.AllowSeeking = true);
AddStep("hide Bar", () => progress.AllowSeeking.Value = false);
AddStep("show bar", () => progress.AllowSeeking.Value = true);
AddStep("show graph", () => progress.CollapseGraph.Value = false);
AddStep("stop", clock.Stop);
}