This commit is contained in:
朱子楚\zhuzi 2024-02-25 19:31:40 +08:00
parent 163c07f7b7
commit 355517ed44
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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{