Merge remote-tracking branch 'upstream/master' into fix-transparent-background-on-screen-scale-modes

This commit is contained in:
chrisny286 2019-01-23 08:52:46 +01:00
commit 5d2b2ecf06
2 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,8 @@ namespace osu.Game.Graphics.UserInterface
protected override void LoadComplete() protected override void LoadComplete()
{ {
updateTooltipText(Current.Value);
base.LoadComplete(); base.LoadComplete();
CurrentNumber.BindValueChanged(updateTooltipText, true);
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)

View File

@ -48,7 +48,6 @@ namespace osu.Game.Screens.Play
{ {
visibilityContainer = new Container { visibilityContainer = new Container {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
AlwaysPresent = true, // The hud may be hidden but certain elements may need to still be updated
Children = new Drawable[] { Children = new Drawable[] {
new Container { new Container {
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,