mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Don't hide SelectionBlueprint
s themselves, only their children
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user