mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Update SongProgress height based on its dynamic height during resize
This commit is contained in:
parent
ace9fbc8d3
commit
0cf3e90904
@ -70,7 +70,6 @@ namespace osu.Game.Screens.Play
|
||||
public SongProgress()
|
||||
{
|
||||
Masking = true;
|
||||
Height = bottom_bar_height + graph_height + handle_size.Y + info_height;
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -148,6 +147,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
bar.CurrentTime = gameplayTime;
|
||||
graph.Progress = (int)(graph.ColumnCount * progress);
|
||||
|
||||
Height = bottom_bar_height + graph_height + handle_size.Y + info_height - graph.Y;
|
||||
}
|
||||
|
||||
private void updateBarVisibility()
|
||||
|
Loading…
Reference in New Issue
Block a user