mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-30 05:09:08 +00:00
Fix report box color
This commit is contained in:
parent
35d200502e
commit
6d67fdd065
1 changed files with 3 additions and 4 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue