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