mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-25 15:35:43 +01:00
fixes #66810
This commit is contained in:
@@ -125,12 +125,7 @@
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.explorer-viewlet .explorer-item .monaco-inputbox > .wrapper > .input {
|
||||
padding: 1px 2px;
|
||||
}
|
||||
|
||||
.linux > .monaco-workbench .explorer-viewlet .explorer-item .monaco-inputbox > .wrapper > .input,
|
||||
.mac > .monaco-workbench .explorer-viewlet .explorer-item .monaco-inputbox > .wrapper > .input {
|
||||
.monaco-workbench .explorer-viewlet .explorer-item .monaco-inputbox > .wrapper > .input {
|
||||
padding: 0;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
@@ -204,8 +204,8 @@ export class FilesRenderer implements ITreeRenderer<ExplorerItem, FuzzyScore, IF
|
||||
const lastDot = value.lastIndexOf('.');
|
||||
|
||||
inputBox.value = value;
|
||||
inputBox.select({ start: 0, end: lastDot > 0 && !stat.isDirectory ? lastDot : value.length });
|
||||
inputBox.focus();
|
||||
inputBox.select({ start: 0, end: lastDot > 0 && !stat.isDirectory ? lastDot : value.length });
|
||||
|
||||
const done = once(async (success: boolean, blur: boolean) => {
|
||||
label.element.style.display = 'none';
|
||||
|
||||
Reference in New Issue
Block a user