Skip to content

Commit

Permalink
Disable for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbinnie committed Sep 19, 2024
1 parent d409890 commit 1905067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ class MainPage extends React.PureComponent<Props, State> {
developerMode={this.state.developerMode}
/>
{downloadsDropdownButton}
<span style={{width: `${window.innerWidth - (window.navigator.windowControlsOverlay?.getTitlebarAreaRect().width ?? 0)}px`}}/>
{window.process.platform !== 'darwin' &&
<span style={{width: `${window.innerWidth - (window.navigator.windowControlsOverlay?.getTitlebarAreaRect().width ?? 0)}px`}}/>
}
{window.process.platform !== 'darwin' && this.state.fullScreen &&
<span className='title-bar-btns'>
<div
Expand Down

0 comments on commit 1905067

Please sign in to comment.