Skip to content

Commit

Permalink
Update NemosMiner.ps1
Browse files Browse the repository at this point in the history
Less flickering, reduce CPU load
  • Loading branch information
UselessGuru committed Sep 3, 2022
1 parent 8e8bfe5 commit d6f14a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NemosMiner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,9 @@ Function Global:TimerUITick {
# Refresh selected tab
Update-TabControl

# Keep only 100 lines, more lines impact performance
$Variables.LabelStatus.Lines = @($Variables.LabelStatus.Lines | Select-Object -Last 100)

If ($EditConfigLink.Tag -eq "WebGUI" ) {
$EditConfigLink.Text = "Edit configuration in the Web GUI"
}
Expand Down

0 comments on commit d6f14a5

Please sign in to comment.