mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Add a flimsy guard against null parent to avoid crashes on exit sequence
This commit is contained in:
@ -172,6 +172,9 @@ namespace osu.Game.Skinning.Editor
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (drawable.Parent == null)
|
||||
return;
|
||||
|
||||
originBox.Position = drawable.ToSpaceOfOtherDrawable(drawable.OriginPosition, this);
|
||||
anchorBox.Position = drawable.Parent.ToSpaceOfOtherDrawable(drawable.AnchorPosition, this);
|
||||
|
||||
|
Reference in New Issue
Block a user