Skip to content

Commit

Permalink
Correctly remember the last docking position (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasikanth513 authored and sindresorhus committed Jun 29, 2019
1 parent d25c72a commit ee309ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare namespace electronDebug {
/**
The dock state to open DevTools in.
@default 'undocked'
@default 'previous'
*/
readonly devToolsMode?:
| 'undocked'
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = options => {
options = {
isEnabled: null,
showDevTools: true,
devToolsMode: 'undocked',
devToolsMode: 'previous',
...options
};

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Show DevTools on each created `BrowserWindow`.
##### devToolsMode

Type: `string`<br>
Default: `'undocked'`<br>
Default: `'previous'`<br>
Values: `'undocked'` `'right'` `'bottom'` `'previous'` `'detach'`

The dock state to open DevTools in.
Expand Down

0 comments on commit ee309ad

Please sign in to comment.