Skip to content

Commit

Permalink
Merge pull request #5 from LZ2DMV/main
Browse files Browse the repository at this point in the history
Fix colorful_spectrum
  • Loading branch information
0xAF authored Jul 22, 2024
2 parents 250eadc + c98e73d commit 5ffd967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/colorful_spectrum/colorful_spectrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Plugins.colorful_spectrum.init = async function () {
var y = (data - thisArg.min) * y_ratio;
thisArg.ctx.fillRect(x, spec_height, 1, -y);
if (data) {
var c = waterfall_mkcolor(data);
var c = Waterfall.makeColor(data);
thisArg.ctx.fillStyle = "rgba(" +
c[0] + ", " + c[1] + ", " + c[2] + ", " +
(25 + y * 2) + "%)";
Expand Down

0 comments on commit 5ffd967

Please sign in to comment.