From 8877d7f245751bcaed2953de08d1ccfe96ed4896 Mon Sep 17 00:00:00 2001 From: ZiwKerman Date: Sat, 4 Apr 2015 22:08:40 +0100 Subject: [PATCH] Minor UI Events renames To be more consistent across the mod --- .../InfernalRobotics/Control/Servo/MechanismBase.cs | 2 +- InfernalRobotics/InfernalRobotics/Module/MuMechToggle.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/InfernalRobotics/InfernalRobotics/Control/Servo/MechanismBase.cs b/InfernalRobotics/InfernalRobotics/Control/Servo/MechanismBase.cs index c39d1326..5617a127 100644 --- a/InfernalRobotics/InfernalRobotics/Control/Servo/MechanismBase.cs +++ b/InfernalRobotics/InfernalRobotics/Control/Servo/MechanismBase.cs @@ -86,7 +86,7 @@ public bool IsAxisInverted get { return rawServo.invertAxis; } set { rawServo.invertAxis = value; - rawServo.Events["InvertAxisToggle"].guiName = rawServo.invertAxis ? "Axis Inverted. Revert?" : "Axis Normal. Invert?"; + rawServo.Events["InvertAxisToggle"].guiName = rawServo.invertAxis ? "Un-invert Axis" : "Invert Axis"; } } diff --git a/InfernalRobotics/InfernalRobotics/Module/MuMechToggle.cs b/InfernalRobotics/InfernalRobotics/Module/MuMechToggle.cs index fe282fe6..67dfa2c3 100644 --- a/InfernalRobotics/InfernalRobotics/Module/MuMechToggle.cs +++ b/InfernalRobotics/InfernalRobotics/Module/MuMechToggle.cs @@ -202,13 +202,13 @@ private Assembly MyResolveEventHandler(object sender, ResolveEventArgs args) return myAssembly; } - [KSPEvent(guiActive = true, guiActiveEditor = true, guiName = "Unconstrained. Restrict?", active = false)] + [KSPEvent(guiActive = true, guiActiveEditor = true, guiName = "Engage Limits", active = false)] public void LimitTweakableToggle() { if (!rotateJoint) return; limitTweakableFlag = !limitTweakableFlag; - Events["LimitTweakableToggle"].guiName = limitTweakableFlag ? "Constrained to limits. Unconstrain?" : "Unconstrained. Restrict?"; + Events["LimitTweakableToggle"].guiName = limitTweakableFlag ? "Disengage Limits" : "Engage Limits"; if (limitTweakableFlag) { @@ -226,11 +226,11 @@ public void LimitTweakableToggle() TweakIsDirty = true; } - [KSPEvent(guiActive = true, guiActiveEditor = true, guiName = "Axis Normal. Invert?")] + [KSPEvent(guiActive = true, guiActiveEditor = true, guiName = "Invert Axis")] public void InvertAxisToggle() { invertAxis = !invertAxis; - Events["InvertAxisToggle"].guiName = invertAxis ? "Axis Inverted. Revert?" : "Axis Normal. Invert?"; + Events["InvertAxisToggle"].guiName = invertAxis ? "Un-invert Axis" : "Invert Axis"; } public bool IsSymmMaster()