ShapedRect: fixing hair line gap

This commit is contained in:
ItsLemmy
2025-11-03 08:01:02 -05:00
parent 36192717f4
commit 72c5a9d652
+2 -4
View File
@@ -147,11 +147,9 @@ Item {
ctx.quadraticCurveTo(x, y + h, x, y + h - bottomLeftRadius)
} else {
// Curves downward
ctx.lineTo(x, y + h)
ctx.lineTo(x + bottomLeftRadius, y + h)
ctx.quadraticCurveTo(x, y + h, x, y + h + bottomLeftRadius)
ctx.lineTo(x, y + h + bottomLeftRadius)
ctx.quadraticCurveTo(x, y + h, x + bottomLeftRadius, y + h)
ctx.lineTo(x, y + h)
ctx.lineTo(x, y + h - bottomLeftRadius)
}
} else {
ctx.lineTo(x + bottomLeftRadius, y + h)