We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b995b96 commit 6f0b89fCopy full SHA for 6f0b89f
src/components/QrcodeStream.vue
@@ -94,7 +94,7 @@ export default {
94
95
trackRepaintFunction() {
96
if (this.track === true) {
97
- return thinSquare({ color: "red" });
+ return thinSquare({ color: "#ff0000" });
98
} else if (this.track === false) {
99
return null;
100
} else {
src/misc/track-func.js
@@ -7,7 +7,7 @@ export function thinSquare({ color }) {
7
bottomRightCorner
8
} = location;
9
10
- ctx.strokeStyle = "red";
+ ctx.strokeStyle = color;
11
12
ctx.beginPath();
13
ctx.moveTo(topLeftCorner.x, topLeftCorner.y);
0 commit comments