Added readout line count and resize.
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Rendezvous / AngleToRelativeDescendingNode.cs
blob:a/KerbalEngineer/Flight/Readouts/Rendezvous/AngleToRelativeDescendingNode.cs -> blob:b/KerbalEngineer/Flight/Readouts/Rendezvous/AngleToRelativeDescendingNode.cs
--- a/KerbalEngineer/Flight/Readouts/Rendezvous/AngleToRelativeDescendingNode.cs
+++ b/KerbalEngineer/Flight/Readouts/Rendezvous/AngleToRelativeDescendingNode.cs
@@ -27,6 +27,8 @@
 {
     public class AngleToRelativeDescendingNode : ReadoutModule
     {
+        #region Constructors
+
         public AngleToRelativeDescendingNode()
         {
             this.Name = "Angle to Rel. DN";
@@ -35,24 +37,28 @@
             this.IsDefault = true;
         }
 
-        public override void Update()
-        {
-            RendezvousProcessor.RequestUpdate();
-        }
+        #endregion
+
+        #region Methods: public
 
         public override void Draw()
         {
-            if (!RendezvousProcessor.ShowDetails)
+            if (RendezvousProcessor.ShowDetails)
             {
-                return;
+                this.DrawLine(RendezvousProcessor.AngleToDescendingNode.ToAngle());
             }
-
-            this.DrawLine(RendezvousProcessor.AngleToDescendingNode.ToAngle());
         }
 
         public override void Reset()
         {
             FlightEngineerCore.Instance.AddUpdatable(RendezvousProcessor.Instance);
         }
+
+        public override void Update()
+        {
+            RendezvousProcessor.RequestUpdate();
+        }
+
+        #endregion
     }
 }