1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Don't hide SelectionBlueprints themselves, only their children

This commit is contained in:
Dean Herbert 2022-05-12 19:26:13 +09:00
parent 1b2c07e142
commit c63e65c677

View File

@ -89,16 +89,12 @@ namespace osu.Game.Rulesets.Edit
// set the body piece's alpha directly to avoid arbitrarily rendering frame buffers etc. of children.
foreach (var d in InternalChildren)
d.Hide();
Hide();
}
protected virtual void OnSelected()
{
foreach (var d in InternalChildren)
d.Show();
Show();
}
// When not selected, input is only required for the blueprint itself to receive IsHovering