This commit is contained in:
Jean Pierre 2020-03-23 03:41:49 -05:00 committed by GitHub
parent 0926b53455
commit a2ea73efe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,13 +202,13 @@ export class TabsTitleControl extends TitleControl {
EventHelper.stop(e);
this.group.openEditor(this.editorService.createEditorInput({
forceUntitled: true,
options: {
this.group.openEditor(
this.editorService.createEditorInput({ forceUntitled: true }),
{
pinned: true, // untitled is always pinned
index: this.group.count // always at the end
}
}));
);
}));
});