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

explorer: fix rename

上级 e1b1209e
......@@ -246,6 +246,9 @@ export class FilesRenderer implements ICompressibleTreeRenderer<ExplorerItem, Fu
label.setFile(joinPath(parent, value || ' '), labelOptions); // Use icon for ' ' if name is empty.
// hack: hide label
(label.element.firstElementChild as HTMLElement).style.display = 'none';
// Input field for name
const inputBox = new InputBox(label.element, this.contextViewService, {
validationOptions: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册