Fix report box color

This commit is contained in:
Slendy 2022-02-13 11:23:21 -06:00
commit 6d67fdd065

View file

@ -115,17 +115,16 @@
const bw = (x2 - x1) / scaleX;
const bh = (y2 - y1) / scaleY;
context.beginPath();
context.lineWidth = 3;
context.globalAlpha = 0.6;
context.fillStyle = "black";
context.fillRect(0, 0, canvas.width, canvas.height);
context.clearRect(bx, by, bw, bh);
context.globalAlpha = 1.0;
context.beginPath();
context.lineWidth = 3;
context.strokeStyle = "#cc0a1d";
context.lineWidth = 2;
context.strokeStyle = "#957a24";
context.rect(bx, by, bw, bh);
context.stroke();
context.globalAlpha = 1.0;
break;
}
case 1: {