Browse Source

Make slight change to GUI visibility

habeebweeb 4 years ago
parent
commit
30c0f02a42

+ 0 - 4
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MaidSwitcherPane.cs

@@ -30,7 +30,6 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
             GUILayout.BeginHorizontal();
 
-            bool previousState = GUI.enabled;
             GUI.enabled = meidoManager.HasActiveMeido;
 
             PreviousButton.Draw(buttonStyle, GUILayout.Height(40), GUILayout.ExpandWidth(false));
@@ -40,7 +39,6 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             else
                 GUILayout.Box("", boxStyle, GUILayout.Height(70), GUILayout.Width(70));
 
-
             GUILayout.BeginVertical();
             GUILayout.Space(30);
             GUILayout.Label(meidoManager.HasActiveMeido ? meidoManager.ActiveMeido.NameJP : "", labelStyle, GUILayout.ExpandWidth(false));
@@ -48,8 +46,6 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
             NextButton.Draw(buttonStyle, GUILayout.Height(40), GUILayout.ExpandWidth(false));
 
-            GUI.enabled = previousState;
-
             GUILayout.EndHorizontal();
         }