RibbonBottomBar: Fix the radius bug caused by RibbonBlur.

This commit is contained in:
Mentalflow 2024-07-30 00:42:52 +08:00
parent 5eaea111f1
commit 662fbb260c
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ Item {
color: isDarkMode ? "#141414" : "#F5F5F5" color: isDarkMode ? "#141414" : "#F5F5F5"
opacity: bgOpacity opacity: bgOpacity
anchors.fill: parent anchors.fill: parent
bottomLeftRadius: Qt.platform.os === 'windows' ? RibbonUI.isWin11 ? 7 : 0 : 10 bottomLeftRadius: blur.bottomLeftRadius
bottomRightRadius: bottomLeftRadius bottomRightRadius: bottomLeftRadius
} }

View File

@ -61,7 +61,7 @@ Item {
color: isDarkMode ? "#141414" : "#F5F5F5" color: isDarkMode ? "#141414" : "#F5F5F5"
opacity: bgOpacity opacity: bgOpacity
anchors.fill: parent anchors.fill: parent
bottomLeftRadius: Qt.platform.os === 'windows' ? RibbonUI.isWin11 ? 7 : 0 : 10 bottomLeftRadius: blur.bottomLeftRadius
bottomRightRadius: bottomLeftRadius bottomRightRadius: bottomLeftRadius
} }