Skip to content

Commit

Permalink
multicore-sys-monitor@ccadeptic23: Fix memory graph disappearing when…
Browse files Browse the repository at this point in the history
… CPU is colored by activity level and swap usage is at 20% or more (#6771)
  • Loading branch information
Leokuma authored Jan 17, 2025
1 parent 03feff7 commit 49afad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ GraphVBars.prototype = {

let use_natural_colors = this.configSettings.getUseProgressiveColors();

if (!this.configSettings.getByActivity()) {
if (!this.configSettings.getByActivity() || providerName == 'SWAP') {
//use this to select cpu from our colorlist, its incase we have more cpus than colors
//This shouldnt happen but just incase
let cpunum = i % colorsList.length;
Expand Down

0 comments on commit 49afad7

Please sign in to comment.