mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-04 06:11:12 +00:00
fix: background
This commit is contained in:
parent
b6f0fb41aa
commit
4503a0f099
@ -44,9 +44,6 @@ Future<void> _initWindow() async {
|
|||||||
await windowManager.setSize(const Size(1280, 810));
|
await windowManager.setSize(const Size(1280, 810));
|
||||||
await windowManager.setMinimumSize(const Size(1280, 810));
|
await windowManager.setMinimumSize(const Size(1280, 810));
|
||||||
await windowManager.center(animate: true);
|
await windowManager.center(animate: true);
|
||||||
if (Platform.isWindows) {
|
|
||||||
await Window.setEffect(effect: WindowEffect.transparent, color: Colors.transparent, dark: true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class App extends HookConsumerWidget with WindowListener {
|
class App extends HookConsumerWidget with WindowListener {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user