mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 13:49:08 +08:00
update
This commit is contained in:
parent
6366651453
commit
2129301cd2
@ -17,8 +17,8 @@ void preInit(){
|
|||||||
void postInit(){
|
void postInit(){
|
||||||
qDebug()<<"postInit";
|
qDebug()<<"postInit";
|
||||||
FramelessHelper::Core::setApplicationOSThemeAware();
|
FramelessHelper::Core::setApplicationOSThemeAware();
|
||||||
FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
// FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow);
|
||||||
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
// FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
||||||
}
|
}
|
||||||
void initEngine(QQmlApplicationEngine* engine){
|
void initEngine(QQmlApplicationEngine* engine){
|
||||||
qDebug()<<"initEngine";
|
qDebug()<<"initEngine";
|
||||||
|
@ -46,7 +46,11 @@ Window {
|
|||||||
Rectangle{
|
Rectangle{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: backgroundColor
|
color: backgroundColor
|
||||||
visible: FluTheme.darkMode !== FluDarkMode.System
|
visible: {
|
||||||
|
if(!FramelessHelper.blurBehindWindowEnabled)
|
||||||
|
return true
|
||||||
|
return FluTheme.darkMode !== FluDarkMode.System && !FramelessHelper.blurBehindWindowEnabled
|
||||||
|
}
|
||||||
Behavior on color{
|
Behavior on color{
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
duration: 300
|
duration: 300
|
||||||
|
Loading…
Reference in New Issue
Block a user