From 7395506d98bc42e4f19e01be3fd1934c3f17793c Mon Sep 17 00:00:00 2001 From: gotmachine <24925209+gotmachine@users.noreply.github.com> Date: Wed, 25 May 2022 10:54:34 +0200 Subject: [PATCH 1/4] Create README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1306712..9643672 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ User options are available from the "ESC" in-game settings menu :
Date: Sun, 29 May 2022 12:27:15 +0200 Subject: [PATCH 3/4] Fix issue #39 : AltimeterHorizontalPosition patch causes state inconsistencies with vessel filters --- KSPCommunityFixes/QoL/AltimeterHorizontalPosition.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/KSPCommunityFixes/QoL/AltimeterHorizontalPosition.cs b/KSPCommunityFixes/QoL/AltimeterHorizontalPosition.cs index 313ab42..d288d68 100644 --- a/KSPCommunityFixes/QoL/AltimeterHorizontalPosition.cs +++ b/KSPCommunityFixes/QoL/AltimeterHorizontalPosition.cs @@ -119,6 +119,12 @@ static void MapView_enterMapView_Prefix() if (trackingFiltersHoverArea != null) { trackingFiltersHoverArea.SetActive(true); + + // Fix issue #39 + // updateButtonsToFilter is checking for the isActiveAndEnabled state of button GO before setting state. + // Since we disabled the containing GO when this was called in MapViewFiltering.Init(), the buttons state + // will be incorrect initially, so update them manually. + MapViewFiltering.Instance.updateButtonsToFilter(MapViewFiltering.vesselTypeFilter); } } From eddbf3c6224002f7c9807e38d4c6a1f109d576b7 Mon Sep 17 00:00:00 2001 From: gotmachine <24925209+gotmachine@users.noreply.github.com> Date: Sun, 29 May 2022 12:30:47 +0200 Subject: [PATCH 4/4] Version bump to 1.14.1 --- GameData/KSPCommunityFixes/KSPCommunityFixes.version | 2 +- KSPCommunityFixes/Properties/AssemblyInfo.cs | 4 ++-- README.md | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/GameData/KSPCommunityFixes/KSPCommunityFixes.version b/GameData/KSPCommunityFixes/KSPCommunityFixes.version index f212a56..7462bbf 100644 --- a/GameData/KSPCommunityFixes/KSPCommunityFixes.version +++ b/GameData/KSPCommunityFixes/KSPCommunityFixes.version @@ -2,7 +2,7 @@ "NAME": "KSPCommunityFixes", "URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version", "DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases", - "VERSION": {"MAJOR": 1, "MINOR": 14, "PATCH": 0, "BUILD": 0}, + "VERSION": {"MAJOR": 1, "MINOR": 14, "PATCH": 1, "BUILD": 0}, "KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 3}, "KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0}, "KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 3} diff --git a/KSPCommunityFixes/Properties/AssemblyInfo.cs b/KSPCommunityFixes/Properties/AssemblyInfo.cs index 0167973..bd0b607 100644 --- a/KSPCommunityFixes/Properties/AssemblyInfo.cs +++ b/KSPCommunityFixes/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.14.0.0")] -[assembly: AssemblyFileVersion("1.14.0.0")] +[assembly: AssemblyVersion("1.14.1.0")] +[assembly: AssemblyFileVersion("1.14.1.0")] diff --git a/README.md b/README.md index 9643672..ad4bc08 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,10 @@ If doing so in the `Debug` configuration and if your KSP install is modified to ### Changelog +##### 1.14.1 +- Fix KSPCF [issue #39](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/39) : AltimeterHorizontalPosition patch causes state inconsistencies with vessel filters. +- Fix KSPCF [issue #40](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/40) : UIFloatEditNumericInput patch breaking IR custom FloatEdit control. Don't alter the control prefab list, instead return our custom prefab on the fly in the KSP methods searching the prefab list. + ##### 1.14.0 - New KSP bugfix : PartListTooltipIconSpin (investigation efforts by @StoneBlue). - New KSP bugfix : AsteroidSpawnerUniqueFlightId