Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 6f9ecc4

Browse files
committed
fix windowControls issue on macOS
1 parent 4270a6c commit 6f9ecc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/titlebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export default class Titlebar {
470470
addClass(this.title, 'cet-center');
471471
}
472472

473-
if (this.options.order !== 'first-buttons') {
473+
if (!isMacintosh && this.options.order !== 'first-buttons') {
474474
this.windowControls.style.marginLeft = 'auto';
475475
}
476476

0 commit comments

Comments
 (0)