mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:23:00 +08:00
Don't hide SelectionBlueprint
s themselves, only their children
This commit is contained in:
parent
1b2c07e142
commit
c63e65c677
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user