mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-18 06:28:40 -09:00
Set showHamburgerMenu enabled by default on Linux (#2666)
This commit is contained in:
parent
429710328a
commit
7838a10d1a
2 changed files with 3 additions and 4 deletions
|
|
@ -51,9 +51,8 @@ module.exports = {
|
||||||
// custom CSS to embed in the terminal window
|
// custom CSS to embed in the terminal window
|
||||||
termCSS: '',
|
termCSS: '',
|
||||||
|
|
||||||
// set to `true` (without backticks and without quotes) if you're using a
|
// if you're using a Linux setup which show native menus, set to false
|
||||||
// Linux setup that doesn't show native menus
|
// default: `true` on Linux, `true` on Windows, ignored on macOS
|
||||||
// default: `false` on Linux, `true` on Windows, ignored on macOS
|
|
||||||
showHamburgerMenu: '',
|
showHamburgerMenu: '',
|
||||||
|
|
||||||
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
|
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ export default class Header extends React.PureComponent {
|
||||||
const {showHamburgerMenu, showWindowControls} = this.props;
|
const {showHamburgerMenu, showWindowControls} = this.props;
|
||||||
|
|
||||||
const defaults = {
|
const defaults = {
|
||||||
hambMenu: process.platform === 'win32', // show by default on windows
|
hambMenu: !this.props.isMac, // show by default on windows and linux
|
||||||
winCtrls: !this.props.isMac // show by default on Windows and Linux
|
winCtrls: !this.props.isMac // show by default on Windows and Linux
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue