Improve acrylic effect for example and FluNavigationview.

This commit is contained in:
Mentalflow
2023-05-21 19:35:01 +08:00
parent a44d2cfe64
commit f998b58d88
5 changed files with 35 additions and 4 deletions

View File

@ -45,9 +45,20 @@ FluWindow {
setHitTestVisible(title_bar.closeButton())
framless_helper.setWindowFixedSize(fixSize)
title_bar.maximizeButton.visible = !fixSize
if (blurBehindWindowEnabled)
window.backgroundOpacity = 0.8
window.visible = true
}
}
Connections{
target: FluTheme
function onDarkChanged(){
if (FluTheme.dark)
FramelessUtils.systemTheme = FramelessHelperConstants.Dark
else
FramelessUtils.systemTheme = FramelessHelperConstants.Light
}
}
function setHitTestVisible(com){
framless_helper.setHitTestVisible(com)