diff --git a/EditorExtensionsRedux.userprefs b/EditorExtensionsRedux.userprefs index 85ccb68..0940764 100755 --- a/EditorExtensionsRedux.userprefs +++ b/EditorExtensionsRedux.userprefs @@ -1,8 +1,8 @@  - - + + - + @@ -18,9 +18,9 @@ - - - + + + diff --git a/EditorExtensionsRedux/EditorExtensionsRedux.cs b/EditorExtensionsRedux/EditorExtensionsRedux.cs index a803ff8..44624a5 100755 --- a/EditorExtensionsRedux/EditorExtensionsRedux.cs +++ b/EditorExtensionsRedux/EditorExtensionsRedux.cs @@ -1220,12 +1220,12 @@ public void ShowMenu () if (!validVersion) return; Vector3 position = Input.mousePosition; - + int toolbarHeight = (int)(_toolbarHeight * GameSettings.UI_SCALE); _menuRect = new Rect () { xMin = position.x - _menuWidth / 2, xMax = position.x + _menuWidth / 2, - yMin = Screen.height - _toolbarHeight - _menuHeight, - yMax = Screen.height - _toolbarHeight + yMin = Screen.height - toolbarHeight - _menuHeight, + yMax = Screen.height - toolbarHeight }; _showMenu = true; } @@ -1370,10 +1370,11 @@ void OSDMessage (string message) void AdjustSnapLocations () { + if (editor.srfAttachAngleSnap == 0) { GameSettings.VAB_USE_ANGLE_SNAP = false; } else { - GameSettings.VAB_USE_ANGLE_SNAP = true; + // GameSettings.VAB_USE_ANGLE_SNAP = true; } //symmetry & angle sprite/label size and position diff --git a/EditorExtensionsRedux/EditorExtensionsRedux.version b/EditorExtensionsRedux/EditorExtensionsRedux.version index a60024e..8555bd6 100755 --- a/EditorExtensionsRedux/EditorExtensionsRedux.version +++ b/EditorExtensionsRedux/EditorExtensionsRedux.version @@ -6,7 +6,7 @@ { "MAJOR":3, "MINOR":2, - "PATCH":8, + "PATCH":9, "BUILD":0 }, "KSP_VERSION": diff --git a/README.md b/README.md index 6126412..c8ed554 100755 --- a/README.md +++ b/README.md @@ -3,12 +3,18 @@ ## ## +## Changes in 3.2.10 + Added UI scaling code to position of EEX menu + Fixed accidently disabling the ability to change the anglesnap on/off by clicking the spirt + ## Changes in 3.2.9 Removed old code from the FineAdjust Update function which was causing an exception Reduced height of popup menu Fixed bug where clicking on the symmetry sprite (the one which changes the angle snap degrees) when the angle was zero would not allow surface attachments to anything other than the +z axis: "I can place the battery only on the +z axis of the structure. I cannot place it on -z, +x, -x" + Removed performance issue when Fine Adjustments window was shown + Reduced performance impact when fine adjustments are being done ## Changes in 3.2.8 Added code from Fwiffo to fix bug where changing the angle snap while in rotate mode would not affect the rotate gizmo