mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Make quickEdit true by default on Windows
This commit is contained in:
parent
6cda6cad96
commit
6842e8500a
2 changed files with 7 additions and 4 deletions
|
|
@ -79,11 +79,11 @@ module.exports = {
|
|||
bell: 'SOUND',
|
||||
|
||||
// if true, selected text will automatically be copied to the clipboard
|
||||
copyOnSelect: false,
|
||||
copyOnSelect: false
|
||||
|
||||
// if true, on right click selected text will be copied or pasted if no
|
||||
// selection is present
|
||||
quickEdit: false
|
||||
// selection is present (true by default on Windows)
|
||||
// quickEdit: true
|
||||
|
||||
// URL to custom bell
|
||||
// bellSoundURL: 'http://example.com/bell.mp3',
|
||||
|
|
|
|||
|
|
@ -189,7 +189,10 @@ const reducer = (state = initial, action) => {
|
|||
ret.showWindowControls = config.showWindowControls;
|
||||
}
|
||||
|
||||
if (typeof (config.quickEdit) !== 'undefined' &&
|
||||
if (process.platform === 'win32' &&
|
||||
(config.quickEdit === undefined || config.quickEdit === null)) {
|
||||
ret.quickEdit = true;
|
||||
} else if (typeof (config.quickEdit) !== 'undefined' &&
|
||||
config.quickEdit !== null) {
|
||||
ret.quickEdit = config.quickEdit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue