瀏覽代碼

Enable GUI after drawing main window content

habeebweeb 4 年之前
父節點
當前提交
a7ce5e589a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseMainWindow.cs

+ 2 - 0
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseMainWindow.cs

@@ -11,6 +11,8 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
             Draw();
 
+            GUI.enabled = true;
+
             GUILayout.FlexibleSpace();
             GUIStyle labelStyle = new GUIStyle(GUI.skin.label);
             labelStyle.fontSize = 10;