Skip to content

Commit 4efd133

Browse files
authored
Merge pull request #73139 from cedric05/scm
in multiple git repositories workspace, can't view/focus changes on keypress up arrow and enter in `source control provider view`
2 parents 2cf9baf + d680e3b commit 4efd133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/scm/browser/scmViewlet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export class MainPanel extends ViewletPanel {
324324
}
325325

326326
private onListSelectionChange(e: IListEvent<ISCMRepository>): void {
327-
if (e.elements.length > 0 && e.browserEvent) {
327+
if (e.elements.length > 0) {
328328
const scrollTop = this.list.scrollTop;
329329
this.viewModel.setVisibleRepositories(e.elements);
330330
this.list.scrollTop = scrollTop;

0 commit comments

Comments
 (0)