瀏覽代碼

Merge pull request #40004 from glek/patch-1

Change assembly watcher after notification changes
Rémi Verschelde 5 年之前
父節點
當前提交
9286772faf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs

@@ -10,7 +10,7 @@ namespace GodotTools
 
 
         public override void _Notification(int what)
         public override void _Notification(int what)
         {
         {
-            if (what == Node.NotificationWmFocusIn)
+            if (what == Node.NotificationWmWindowFocusIn)
             {
             {
                 RestartTimer();
                 RestartTimer();