mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-29 12:49:14 +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 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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue