mask SongProgress

This commit is contained in:
Unknown 2019-07-05 08:30:32 +02:00
parent 1cb7a9617b
commit ed22c23f37

View File

@ -77,8 +77,8 @@ namespace osu.Game.Screens.Play
public SongProgress() public SongProgress()
{ {
Height = bottom_bar_height + graph_height + handle_size.Y; Masking = true;
Y = bottom_bar_height; Height = bottom_bar_height + graph_height + handle_size.Y + OsuFont.Numeric.Size;
Children = new Drawable[] Children = new Drawable[]
{ {
@ -88,7 +88,6 @@ namespace osu.Game.Screens.Play
Anchor = Anchor.BottomLeft, Anchor = Anchor.BottomLeft,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Margin = new MarginPadding { Bottom = bottom_bar_height + graph_height },
}, },
graph = new SongProgressGraph graph = new SongProgressGraph
{ {