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