diff --git a/Widgets/NShapedRectangle.qml b/Widgets/NShapedRectangle.qml index 5888af2a..309d53e7 100644 --- a/Widgets/NShapedRectangle.qml +++ b/Widgets/NShapedRectangle.qml @@ -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)