fix: displays as black rectangle when opening editor

close #376
This commit is contained in:
mob-sakai
2025-10-22 19:32:30 +09:00
parent a885fc5bc1
commit 4a8d341625
@@ -191,6 +191,15 @@ namespace Coffee.UIEffects
}
}
}
// Refresh all UI Graphics in the opened scenes. (#376)
EditorApplication.delayCall += () =>
{
foreach (var g in Misc.FindObjectsOfType<UnityEngine.UI.Graphic>())
{
g.SetAllDirty();
}
};
}
}