Skip to content

Commit

Permalink
bug: Fixed connected icon lagging behind
Browse files Browse the repository at this point in the history
  • Loading branch information
matthe815 committed Feb 3, 2023
1 parent 8fefab6 commit ffbf667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class Header extends PureComponent {
<div className='toolbar-actions'>
<span className='title'>Ocarina of Time - Multiworld Autotracker</span>
<ButtonGroup align='right'>
<Button align='right' theme='dark'><span className={app.global.connected ? 'icon icon-check' : 'icon icon-cancel'} /></Button>
<Button align='right' theme='dark'><span className={this.state.connected ? 'icon icon-check' : 'icon icon-cancel'} /></Button>
<Button align='right' theme='dark' onClick={() => { app.global.settings.popout = !app.global.settings.popout; Electron.ipcRenderer.send('packets', 'popout') }}>P</Button>
<Button align='right' theme='dark' onClick={() => Electron.ipcRenderer.send('packets', 'minimize')}><span className='icon icon-minus' /></Button>
<Button align='right' theme='dark' onClick={() => Electron.ipcRenderer.send('packets', 'window_size')}><span className='icon icon-doc' /></Button>
Expand Down

0 comments on commit ffbf667

Please sign in to comment.