From ab2ade0d8b86a2d72f4b732e0c1d83b91a8818c3 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Sat, 1 Nov 2025 11:41:23 -0400 Subject: [PATCH] NShapedRect: antilias + smooth, like other canvas --- Widgets/NShapedRectangle.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Widgets/NShapedRectangle.qml b/Widgets/NShapedRectangle.qml index 7ffacade..36f76192 100644 --- a/Widgets/NShapedRectangle.qml +++ b/Widgets/NShapedRectangle.qml @@ -62,6 +62,10 @@ Item { anchors.rightMargin: -root.rightPadding visible: root.hasInvertedCorners + antialiasing: true + renderTarget: Canvas.FramebufferObject + smooth: true + onPaint: { var ctx = getContext("2d") ctx.reset()