From 355517ed44aaba5d286af400ddf970136940432d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Sun, 25 Feb 2024 19:31:40 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluClip.qml | 2 +- src/Qt6/imports/FluentUI/Controls/FluClip.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Qt5/imports/FluentUI/Controls/FluClip.qml b/src/Qt5/imports/FluentUI/Controls/FluClip.qml index c3c5816f..f24776fa 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluClip.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluClip.qml @@ -8,7 +8,7 @@ FluRectangle { id:control color: "#00000000" layer.enabled: !FluTools.isSoftware() - layer.textureSize: Qt.size(control.width*Math.ceil(Screen.devicePixelRatio),control.height*Math.ceil(Screen.devicePixelRatio)) + layer.textureSize: Qt.size(control.width*2*Math.ceil(Screen.devicePixelRatio),control.height*2*Math.ceil(Screen.devicePixelRatio)) layer.effect: OpacityMask{ maskSource: FluRectangle{ radius: control.radius diff --git a/src/Qt6/imports/FluentUI/Controls/FluClip.qml b/src/Qt6/imports/FluentUI/Controls/FluClip.qml index 8a0a0531..486b9365 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluClip.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluClip.qml @@ -7,7 +7,7 @@ FluRectangle { id:control color: "#00000000" layer.enabled: !FluTools.isSoftware() - layer.textureSize: Qt.size(control.width*Math.ceil(Screen.devicePixelRatio),control.height*Math.ceil(Screen.devicePixelRatio)) + layer.textureSize: Qt.size(control.width*2*Math.ceil(Screen.devicePixelRatio),control.height*2*Math.ceil(Screen.devicePixelRatio)) layer.effect: OpacityMask{ maskSource: ShaderEffectSource{ sourceItem: FluRectangle{