quickshell: flip bottom-right concave arc direction
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b0f2b9bfd4
commit
b4e6638037
1 changed files with 2 additions and 3 deletions
|
|
@ -1304,9 +1304,8 @@ in
|
||||||
ctx.clearRect(0, 0, 8, 8);
|
ctx.clearRect(0, 0, 8, 8);
|
||||||
ctx.fillStyle = Theme.barBg;
|
ctx.fillStyle = Theme.barBg;
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
// Fill top-right triangle with concave arc
|
ctx.moveTo(8, 0); ctx.lineTo(8, 8); ctx.lineTo(0, 8);
|
||||||
ctx.moveTo(8, 0); ctx.lineTo(8, 8);
|
ctx.arc(8, 8, 8, Math.PI, -Math.PI / 2, false);
|
||||||
ctx.arc(0, 0, 8, Math.PI / 2, 0, true);
|
|
||||||
ctx.closePath(); ctx.fill();
|
ctx.closePath(); ctx.fill();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue