mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +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.
|
// set the body piece's alpha directly to avoid arbitrarily rendering frame buffers etc. of children.
|
||||||
foreach (var d in InternalChildren)
|
foreach (var d in InternalChildren)
|
||||||
d.Hide();
|
d.Hide();
|
||||||
|
|
||||||
Hide();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void OnSelected()
|
protected virtual void OnSelected()
|
||||||
{
|
{
|
||||||
foreach (var d in InternalChildren)
|
foreach (var d in InternalChildren)
|
||||||
d.Show();
|
d.Show();
|
||||||
|
|
||||||
Show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// When not selected, input is only required for the blueprint itself to receive IsHovering
|
// When not selected, input is only required for the blueprint itself to receive IsHovering
|
||||||
|
Loading…
Reference in New Issue
Block a user