RibbonBackStageView: opacity bug fixed.

This commit is contained in:
Mentalflow 2024-05-26 02:57:35 +08:00
parent a681a88bb8
commit 5005e4833c
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
1 changed files with 1 additions and 0 deletions

View File

@ -441,6 +441,7 @@ Popup {
} }
function show(){ function show(){
control.opacity = 1
menu_bg.x = 0 menu_bg.x = 0
content_bg.color = Qt.alpha(RibbonTheme.isDarkMode ? RibbonTheme.modernStyle ? "#0A0A0A" : "#262626" : RibbonTheme.modernStyle ? "#F0F0F0" : "white", blurEnabled ? RibbonTheme.modernStyle ? 0.95 : 0.9 : 1) content_bg.color = Qt.alpha(RibbonTheme.isDarkMode ? RibbonTheme.modernStyle ? "#0A0A0A" : "#262626" : RibbonTheme.modernStyle ? "#F0F0F0" : "white", blurEnabled ? RibbonTheme.modernStyle ? 0.95 : 0.9 : 1)
blur_bg.maskOpacity = blurEnabled ? 0.5 : 1 blur_bg.maskOpacity = blurEnabled ? 0.5 : 1