From 796ea2b7ea8693363bfba430c96edea0db66bd04 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Thu, 5 Sep 2024 21:29:45 +0800 Subject: [PATCH] style: Add necessary code annotations as title Log: --- qt6/src/qml/FloatingPanel.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt6/src/qml/FloatingPanel.qml b/qt6/src/qml/FloatingPanel.qml index 81b86058..bca43028 100644 --- a/qt6/src/qml/FloatingPanel.qml +++ b/qt6/src/qml/FloatingPanel.qml @@ -49,6 +49,9 @@ Control { radius: control.radius hideSource: false compositionMode: DTK.CompositionMode.Source + // The rounded corners are mainly clipped by the itemViewport above, + // and this is primarily used for rendering the interior pixels of the rectangle during the second pass. + // If anti-aliasing is enabled, it may result in extra pixels around the rounded edges, causing the clipping to be incomplete. antialiasing: false } }