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