Skip to content

Commit 3e7d666

Browse files
authored
Merge pull request #4 from betahub-io/dev-fix
Fix
2 parents bcb77dd + 85064bc commit 3e7d666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/Scripts/BH_BugReportUI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ void Update()
135135
}
136136
}
137137

138-
if (bugReportPanel.activeSelf && _cursorStateChanged)
138+
if (bugReportPanel.activeSelf && !_cursorStateChanged)
139139
{
140140
ModifyCursorState();
141141
}
142-
else if (!bugReportPanel.activeSelf && _cursorStateChanged)
142+
else if (!bugReportPanel.activeSelf && !messagePanelUI.gameObject.activeSelf && _cursorStateChanged)
143143
{
144144
RestoreCursorState();
145145
}

0 commit comments

Comments
 (0)