We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 663f468 commit c25c3e0Copy full SHA for c25c3e0
1 file changed
Editor/Scripts/GraphView/PlayableGraphView.cs
@@ -1,7 +1,6 @@
1
using GBG.PlayableGraphMonitor.Editor.Node;
2
using GBG.PlayableGraphMonitor.Editor.Utility;
3
using System.Collections.Generic;
4
-using UnityEditor;
5
using UnityEditor.Experimental.GraphView;
6
using UnityEngine;
7
using UnityEngine.Playables;
@@ -42,11 +41,7 @@ public void Update(PlayableGraph playableGraph)
42
41
43
if (needFrameAll)
44
{
45
- // wait at least 2 frames for view initialization
46
- EditorApplication.delayCall += () =>
47
- {
48
- EditorApplication.delayCall += () => { FrameAll(); };
49
- };
+ schedule.Execute(() => FrameAll());
50
}
51
52
0 commit comments