Skip to content

Commit

Permalink
Fixed popup being visible when game starts even though "Popup Visibil…
Browse files Browse the repository at this point in the history
…ity" is set to "When Log Received" and "Start Minimized" is enabled
  • Loading branch information
yasirkula committed Aug 18, 2024
1 parent 4ace1a9 commit 51e0996
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plugins/IngameDebugConsole/README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= In-game Debug Console (v1.6.7) =
= In-game Debug Console (v1.6.8) =

Documentation: https://github.com/yasirkula/UnityIngameDebugConsole
FAQ: https://github.com/yasirkula/UnityIngameDebugConsole#faq
Expand Down
5 changes: 5 additions & 0 deletions Plugins/IngameDebugConsole/Scripts/DebugLogManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,12 @@ private void OnDisable()
private void Start()
{
if( startMinimized )
{
HideLogWindow();

if( popupVisibility != PopupVisibility.Always )
popupManager.Hide();
}
else
ShowLogWindow();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.yasirkula.ingamedebugconsole",
"displayName": "In-game Debug Console",
"version": "1.6.7",
"version": "1.6.8",
"documentationUrl": "https://github.com/yasirkula/UnityIngameDebugConsole",
"changelogUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/releases",
"licensesUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/blob/master/LICENSE.txt",
Expand Down

0 comments on commit 51e0996

Please sign in to comment.