Added show button to Flight Engineer and Packaged for 1.0.1
[VesselSimulator.git] / KerbalEngineer / Flight / ActionMenu.cs
blob:a/KerbalEngineer/Flight/ActionMenu.cs -> blob:b/KerbalEngineer/Flight/ActionMenu.cs
--- a/KerbalEngineer/Flight/ActionMenu.cs
+++ b/KerbalEngineer/Flight/ActionMenu.cs
@@ -236,11 +236,15 @@
         {

             try

             {

+                GUILayout.BeginHorizontal();

+                DisplayStack.Instance.Hidden = !GUILayout.Toggle(!DisplayStack.Instance.Hidden, "SHOW ENGINEER", this.buttonStyle);

+                GUILayout.Space(1.0f);

                 if (GUILayout.Toggle(DisplayStack.Instance.ShowControlBar, "CONTROL BAR", this.buttonStyle) != DisplayStack.Instance.ShowControlBar)

                 {

                     DisplayStack.Instance.ShowControlBar = !DisplayStack.Instance.ShowControlBar;

                     DisplayStack.Instance.RequestResize();

                 }

+                GUILayout.EndHorizontal();

             }

             catch (Exception ex)

             {