paradoxxxzero/gnome-shell-system-monitor-applet — Issue #61: The graph of the "cpu" only goes up the middle (vertically)
Author: vlassius
Created: 2011-10-30 11:12:10+00:00
State: open

The graph of the "cpu" only goes up the middle (vertically)
I use my machine to render animations and it works at 100% of CPU all the time.
When it gets 100% the graph of cpu only goes to the middle and let the upper middle just in black.
i changed this line to correct this problem:
cr.lineTo(width - (this.data[i].length - 1 - j), (1 - this.data[i][j] / max) * height);
to
cr.lineTo(width - (this.data[i].length - 1 - j), (1 - this.data[i][j] / 1) * height);

Fedora 15 64, AMD 6 core (1090t x6)

very useful applet
thank you