From 72c5a9d6524faf2ae8297ec2f581e06254993723 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 3 Nov 2025 08:01:02 -0500 Subject: [PATCH] ShapedRect: fixing hair line gap --- Widgets/NShapedRectangle.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)