Skip to content

Commit

Permalink
Revert "fix: softmask elements stop drawing on resolution change some…
Browse files Browse the repository at this point in the history
…times in editor"

This reverts commit 380fdc6.
  • Loading branch information
mob-sakai committed Nov 15, 2024
1 parent 0c3d377 commit 6c864ac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Packages/src/Runtime/SoftMask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -661,13 +661,6 @@ private void OnCanvasViewChanged()
{
EditorApplication.QueuePlayerLoopUpdate();
}

EditorApplication.delayCall += () =>
{
if (!this || !isActiveAndEnabled) return;
_hasResolutionChanged = true;
SetDirtyAndNotify();
};
#endif
}

Expand Down

0 comments on commit 6c864ac

Please sign in to comment.