Added relatives speed/velocity & units helper.
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Surface / Slope.cs
blob:a/KerbalEngineer/Flight/Readouts/Surface/Slope.cs -> blob:b/KerbalEngineer/Flight/Readouts/Surface/Slope.cs
--- a/KerbalEngineer/Flight/Readouts/Surface/Slope.cs
+++ b/KerbalEngineer/Flight/Readouts/Surface/Slope.cs
@@ -21,6 +21,7 @@
 
 using System;
 
+using KerbalEngineer.Flight.Sections;
 using KerbalEngineer.Helpers;
 
 using UnityEngine;
@@ -45,9 +46,9 @@
 
         #region Methods: public
 
-        public override void Draw()
+        public override void Draw(SectionModule section)
         {
-            this.DrawLine(this.GetSlopeAngleAndHeading());
+            this.DrawLine(this.GetSlopeAngleAndHeading(), section.IsHud);
         }
 
         #endregion