Fix tooltips displaying for hidden SelectionHandler content

This commit is contained in:
Dean Herbert 2021-05-03 15:37:15 +09:00
parent 15603de6e9
commit 4cfa858dc4

View File

@ -57,7 +57,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
AlwaysPresent = true; AlwaysPresent = true;
Alpha = 0;
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
@ -318,7 +317,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
selectionDetailsText.Text = count > 0 ? count.ToString() : string.Empty; selectionDetailsText.Text = count > 0 ? count.ToString() : string.Empty;
this.FadeTo(count > 0 ? 1 : 0); content.FadeTo(count > 0 ? 1 : 0);
OnSelectionChanged(); OnSelectionChanged();
} }