mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 00:25:03 +08:00
fix(workspace): Pop to root sheet when switching view modes
This commit is contained in:
parent
229c5578f7
commit
21817887d6
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class WorkspaceStore extends NylasStore
|
|||
atom.config.observe 'core.workspace.mode', (mode) =>
|
||||
return if mode is @_preferredLayoutMode
|
||||
@_preferredLayoutMode = mode
|
||||
@popToRootSheet()
|
||||
@trigger()
|
||||
|
||||
atom.commands.add 'body',
|
||||
|
|
Loading…
Reference in a new issue