update
parent
6366651453
commit
2129301cd2
|
@ -17,8 +17,8 @@ void preInit(){
|
|||
void postInit(){
|
||||
qDebug()<<"postInit";
|
||||
FramelessHelper::Core::setApplicationOSThemeAware();
|
||||
FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
||||
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
||||
// FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
||||
// FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
||||
}
|
||||
void initEngine(QQmlApplicationEngine* engine){
|
||||
qDebug()<<"initEngine";
|
||||
|
|
|
@ -46,7 +46,11 @@ Window {
|
|||
Rectangle{
|
||||
anchors.fill: parent
|
||||
color: backgroundColor
|
||||
visible: FluTheme.darkMode !== FluDarkMode.System
|
||||
visible: {
|
||||
if(!FramelessHelper.blurBehindWindowEnabled)
|
||||
return true
|
||||
return FluTheme.darkMode !== FluDarkMode.System && !FramelessHelper.blurBehindWindowEnabled
|
||||
}
|
||||
Behavior on color{
|
||||
ColorAnimation {
|
||||
duration: 300
|
||||
|
|
Loading…
Reference in New Issue