fix location of back button on macOS

This commit is contained in:
highjeans 2022-02-04 11:44:59 -08:00 committed by GitHub
parent b378375b19
commit f0f365c74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class PageWindowTitleBar extends StatelessWidget
children: [ children: [
if (Platform.isMacOS) if (Platform.isMacOS)
SizedBox( SizedBox(
width: MediaQuery.of(context).size.width * 0.07, width: MediaQuery.of(context).size.width * 0.045,
), ),
if (leading != null) leading!, if (leading != null) leading!,
Expanded(child: MoveWindow(child: Center(child: center))), Expanded(child: MoveWindow(child: Center(child: center))),