Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
feat: optimize fps update decay
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Mar 31, 2023
1 parent cfd8d59 commit c6a6b85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

None

## 24.4.2

### Changed

- Optimize FPS displaying

## 24.4.1

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Source/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public partial class MainWindow : Form
/// <summary>
/// FPS = Old FPS * (1 - FpsUpdateDecay) + New FPS * FpsUpdateDecay
/// </summary>
private const decimal FpsUpdateDecay = 0.01M;
private const decimal FpsUpdateDecay = 0.1M;

/// <summary>
/// The size of icons shown on the monitor
Expand Down

0 comments on commit c6a6b85

Please sign in to comment.