mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
disable acrylic effect for windows 10
This commit is contained in:
@@ -151,7 +151,7 @@ class MyApp extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: widget,
|
child: widget,
|
||||||
);
|
);
|
||||||
} else if (App.windowsVersion == 10) {
|
} /* else if (App.windowsVersion == 10) {
|
||||||
flutter_acrylic.Window.setEffect(
|
flutter_acrylic.Window.setEffect(
|
||||||
effect: flutter_acrylic.WindowEffect.acrylic,
|
effect: flutter_acrylic.WindowEffect.acrylic,
|
||||||
dark: FluentTheme.of(context).brightness ==
|
dark: FluentTheme.of(context).brightness ==
|
||||||
@@ -164,7 +164,7 @@ class MyApp extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: widget,
|
child: widget,
|
||||||
);
|
);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
return KeyEventListener(child: widget);
|
return KeyEventListener(child: widget);
|
||||||
|
Reference in New Issue
Block a user