From 7a715edef1072caac46642fdc11a1931729a0c2d Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Fri, 6 Sep 2024 01:52:12 +0000 Subject: [PATCH] sync: from linuxdeepin/dtkdeclarative Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: https://github.com/linuxdeepin/dtkdeclarative/pull/393 --- 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 81b8605..bca4302 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 } }