mirror of https://github.com/ppy/osu
Fix song progress graph not being correctly hidden
This commit is contained in:
parent
877490fa8d
commit
451c65a2c8
|
@ -178,7 +178,7 @@ private void updateGraphVisibility()
|
|||
float barHeight = bottom_bar_height + handle_size.Y;
|
||||
|
||||
bar.ResizeHeightTo(ShowGraph.Value ? barHeight + graph_height : barHeight, transition_duration, Easing.In);
|
||||
graph.MoveToY(ShowGraph.Value ? 0 : bottom_bar_height + graph_height, transition_duration, Easing.In);
|
||||
graph.FadeTo(ShowGraph.Value ? 1 : 0, transition_duration, Easing.In);
|
||||
|
||||
updateInfoMargin();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue