Skip to content

Commit b4fce87

Browse files
committed
Switch to areo for W10
Stops lag on widnow drag
1 parent 1b7b1a3 commit b4fce87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/theme.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Color platformBackgroundColor(BuildContext context) {
148148
return Colors.transparent;
149149
} else if (Platform.operatingSystemVersion.contains('10')) {
150150
Window.setEffect(
151-
effect: WindowEffect.acrylic,
152-
color: Theme.of(context).cardColor.withAlpha(140),
151+
effect: WindowEffect.aero,
152+
color: Theme.of(context).cardColor.withAlpha(220),
153153
);
154154
return Colors.transparent;
155155
}

0 commit comments

Comments
 (0)