未验证 提交 c47d20b3 编写于 作者: J Joao Moreno

💄

上级 c2389a6f
......@@ -907,12 +907,12 @@ export class RepositoryPane extends ViewPane {
if (this.repository.input.visible) {
removeClass(this.inputContainer, 'hidden');
const editorContentHeight = this.inputEditor.getContentHeight();
const editorHeight = Math.min(editorContentHeight + 3, 134);
this.inputEditor.layout({ height: editorHeight, width: width! - 12 - 16 - 2 });
this.inputEditor.layout({ height: editorHeight, width: width! - 12 - 16 - 2 /* - 8 */ }); // TODO@joao
const listHeight = height - (editorHeight + 5 + 2 /* + 3 + 3 */ + 5);
const listHeight = height - (editorHeight + 5 + 2 + 5);
this.listContainer.style.height = `${listHeight}px`;
this.tree.layout(listHeight, width);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册