Skip to content

Commit 0128f8c

Browse files
committed
Fixed reported issue with fps display
1 parent 3d2a0ad commit 0128f8c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.0.5] - 2022-04-03
10+
- Fixed issue with fps display (https://github.com/DavidF-Dev/Unity-DeveloperConsole/issues/3)
11+
912
## [1.0.4] - 2021-12-09
1013
- Added properties for accessing the current average fps and milliseconds per frame.
1114
- Changed cs_evaluate to also work without the command name being specified.

Runtime/DevConsoleMono.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ internal sealed class DevConsoleMono : MonoBehaviour
114114

115115
#endregion
116116

117-
private static readonly Version _version = new Version(1, 0, 4);
117+
private static readonly Version _version = new Version(1, 0, 5);
118118
private static readonly string[] _permanentCommands =
119119
{
120120
"devconsole", "commands", "help", "print", "clear", "reset", "bind", "unbind", "bindings"
@@ -1406,7 +1406,7 @@ private void OnGUI()
14061406

14071407
if (_isDisplayingFps)
14081408
{
1409-
if (_fpsStyle == null || _statFontSize != _statStyle.fontSize)
1409+
if (_fpsStyle == null || _statFontSize != _fpsStyle.fontSize)
14101410
{
14111411
// Create the style
14121412
_fpsStyle = new GUIStyle(GUI.skin.box)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.davidfdev.devconsole",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"displayName": "In-game Developer Console by DavidFDev",
55
"description": "A user-friendly in-game developer console that allows developers or players to execute commands or view incoming Unity messages. (MIT License)",
66
"unity": "2019.1",

0 commit comments

Comments
 (0)