Merge pull request #21 from highjeans/master

fix location of back button on macOS
This commit is contained in:
Kingkor Roy Tirtho 2022-02-05 16:27:06 +06:00 committed by GitHub
commit 7b226c7e61
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))),