提交 179eae83 编写于 作者: S SteVen Batten

fix from merge and make titlebar position more reliable

上级 a83a5148
......@@ -515,7 +515,7 @@ export class Menubar {
let label: string;
let path: string;
if (isSingleFolderWorkspaceIdentifier(workspace) || typeof workspace === 'string') {
label = unmnemonicLabel(getPathLabel(workspace, null, this.environmentService));
label = unmnemonicLabel(getPathLabel(workspace, this.environmentService, null));
path = workspace;
} else {
label = getWorkspaceLabel(workspace, this.environmentService, { verbose: true });
......
......@@ -44,7 +44,7 @@
text-align: center;
padding-right: 150px;
padding-left: 150px;
position: fixed;
position: absolute;
margin: 1px 2px;
width: 100%;
left: calc(-100vw + 100%);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册