Skip to content

Commit

Permalink
fixes #66810
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Jan 22, 2019
1 parent 93b0145 commit 55951f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 55951f0

Please sign in to comment.