提交 b767baa7 编写于 作者: I isidor

preserve zen mode per global so it is in sync with full screen

上级 d3332204
......@@ -850,7 +850,7 @@ export class Workbench implements IPartService {
const zenConfig = this.configurationService.getConfiguration<IZenModeSettings>('zenMode');
// Preserve zen mode only on reload. Real quit gets out of zen mode so novice users do not get stuck in zen mode.
this.storageService.store(Workbench.zenModeActiveSettingKey, (zenConfig.restore || reason === ShutdownReason.RELOAD) && this.zenMode.active, StorageScope.WORKSPACE);
this.storageService.store(Workbench.zenModeActiveSettingKey, (zenConfig.restore || reason === ShutdownReason.RELOAD) && this.zenMode.active, StorageScope.GLOBAL);
// Pass shutdown on to each participant
this.toShutdown.forEach(s => s.shutdown());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册