Skip to content

Commit bd7df53

Browse files
Fixed ArgumentNullException: Argument cannot be null when moving mouse over dropdown menu (in the ksp_toolbar) when in the editor
(previous fix was for all other scenes)
1 parent e9f0b3c commit bd7df53

File tree

7 files changed

+9
-3
lines changed

7 files changed

+9
-3
lines changed
520 KB
Binary file not shown.
508 KB
Binary file not shown.

Changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.1.7.1
2+
Fixed ArgumentNullException: Argument cannot be null when moving mouse over dropdown menu (in the ksp_toolbar) when in the editor
3+
(previous fix was for all other scenes)
4+
15
0.1.7
26
Fixed ArgumentNullException: Argument cannot be null when moving mouse over dropdown menu (in the ksp_toolbar)
37

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": 7,
13-
"BUILD": 0
13+
"BUILD": 1
1414
},
1515
"KSP_VERSION": {
1616
"MAJOR": 1,

ClickThroughBlocker/AssemblyVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
using System.Reflection;
77

8-
[assembly: AssemblyVersion("0.1.7.0")]
8+
[assembly: AssemblyVersion("0.1.7.1")]

ClickThroughBlocker/ClickThroughBlocker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ internal void PreventEditorClickthrough(Rect r)
6262
#if DUMMY
6363
return;
6464
#else
65+
if (lockName == null)
66+
return;
6567
//Log.Info("ClickThruBlocker: PreventEditorClickthrough");
6668
bool mouseOverWindow = MouseIsOverWindow(r);
6769
//Log.Info("PreventEditorClickthrough, mouseOverWindow: " + mouseOverWindow);

GameData/000_ClickThroughBlocker/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": 7,
13-
"BUILD": 0
13+
"BUILD": 1
1414
},
1515
"KSP_VERSION": {
1616
"MAJOR": 1,

0 commit comments

Comments
 (0)