提交 d29c7424 编写于 作者: J Johannes Rieken

don't add separator to empty actions array, #9547

上级 25c9a99c
......@@ -377,7 +377,9 @@ export abstract class TitleControl implements ITitleAreaControl {
if (this.showTabs) {
if (!showTabsOverflowAction) {
if (secondaryEditorActions.length > 0) {
secondaryEditorActions.push(new Separator());
}
secondaryEditorActions.push(this.showEditorsInGroupAction);
}
secondaryEditorActions.push(new Separator());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册