Skip to content

Commit 5917711

Browse files
Fixed inputlocks not being cleared when setting FocusFollowsMouse
1 parent fdefef1 commit 5917711

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

Changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
ChangeLog
22

3+
0.1.10.12
4+
Fixed inputlocks not being cleared when setting FocusFollowsMouse
5+
36
0.1.10.11
47
Fixed overly aggressive CBTMonitor which was causing the vessel highlighting to stop in the editor when FocusFollowsMouse was set
58

ClickThroughBlocker.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"MAJOR": 0,
1111
"MINOR": 1,
1212
"PATCH": 10,
13-
"BUILD": 11
13+
"BUILD": 12
1414
},
1515
"KSP_VERSION_MIN": {
1616
"MAJOR": 1,

ClickThroughBlocker/ClearInputLocks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void OnDestroy()
5656
Destroy(toolbarControl);
5757
}
5858
}
59-
void ClearInputLocksToggle()
59+
static internal void ClearInputLocksToggle()
6060
{
6161
InputLockManager.ClearControlLocks();
6262
ScreenMessages.PostScreenMessage("All Input Locks Cleared", 5);

ClickThroughBlocker/ClickThroughBlocker.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<Private>False</Private>
8484
</Reference>
8585
<Reference Include="ToolbarControl">
86-
<HintPath>R:\KSP_1.8.1_dev\GameData\001_ToolbarControl\Plugins\ToolbarControl.dll</HintPath>
86+
<HintPath>R:\KSP_1.9.1_dev\GameData\001_ToolbarControl\Plugins\ToolbarControl.dll</HintPath>
8787
</Reference>
8888
</ItemGroup>
8989
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

ClickThroughBlocker/OneTimePopup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ void PopUpWindow(int id)
9292
HighLogic.CurrentGame.Parameters.CustomParams<ClickThroughFix.CTB>().focusFollowsclick = focusFollowsClick;
9393
HighLogic.CurrentGame.Parameters.CustomParams<ClickThroughFix.CTB>().showPopup = false;
9494
CreatePopUpFlagFile();
95+
ClearInputLocks.ClearInputLocksToggle();
9596
visible = false;
9697
Destroy(this);
9798
}

deploy.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ rem VERSIONFILE is the name of the version file, usually the same as GAMEDATA,
88
rem but not always
99

1010
set H=%KSPDIR%
11-
rem set H=R:\KSP_1.9.1_Tetrix
12-
set H=R:\KSP_1.8.1_dev
11+
1312
set GAMEDIR=000_ClickThroughBlocker
1413
set GAMEDATA="GameData\"
1514
set VERSIONFILE=ClickThroughBlocker.version

0 commit comments

Comments
 (0)