Skip to content

Commit 8229c18

Browse files
committed
Added update method to panel.
1 parent 845edde commit 8229c18

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Assets/Plugins/CandyCoded.GitStatus/Scripts/CustomEditor/GitStatusPanel.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,20 @@ private void OnGUI()
6363

6464
}
6565

66+
private void Update()
67+
{
68+
69+
if (EditorApplication.isPlaying || EditorApplication.isPaused)
70+
{
71+
72+
return;
73+
74+
}
75+
76+
Repaint();
77+
78+
}
79+
6680
}
6781

6882
}

0 commit comments

Comments
 (0)