Skip to content

Commit 2e89762

Browse files
committed
Released v1.0.2.
1 parent ffb092c commit 2e89762

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [1.0.2] - 2021-10-30
810
- Added user-defined developer console stats which are displayed on-screen.
911
- Changed preferences file to be deleted when unable to load correctly.
1012
- Fixed exception not being caught when an issue occurs serialising or deserialising the preferences file.

Runtime/DevConsoleMono.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ private void OnGUI()
14681468

14691469
// Set content
14701470
string content = $"{stat.Key}: {result ?? "NULL"}";
1471-
GUI.contentColor = result.Equals("ERROR") ? Color.red : (result == null ? Color.yellow : Color.white);
1471+
GUI.contentColor = result == null ? Color.yellow : (result.Equals("ERROR") ? Color.red : Color.white);
14721472

14731473
// Determine label size
14741474
Vector2 size = _statStyle.CalcSize(new GUIContent(content));

0 commit comments

Comments
 (0)