fix: GradationGradient and TransitionGradient in reprica will be not dirty (editor)

This commit is contained in:
mob-sakai
2025-05-24 19:50:39 +09:00
parent 8a0e7d6b26
commit 58b197e551
+6
View File
@@ -149,6 +149,12 @@ namespace Coffee.UIEffects
protected override void OnValidate()
{
RefreshTarget(target);
if (preset || (target && !isTargetInScene))
{
context?.SetGradationDirty();
}
base.OnValidate();
}