mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-07 04:15:26 +00:00
ShapedRect: fixing hair line gap
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user