Skip to content

Commit 56307cf

Browse files
committed
1 parent 63fdd96 commit 56307cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,9 +707,9 @@ export class OutlinePanel extends ViewletPanel {
707707
if (top < 0 || top > 1) {
708708
// only when outside view port
709709
await this._tree.reveal(item, .5);
710-
this._tree.setFocus(item, this);
711-
this._tree.setSelection([item], this);
712710
}
711+
this._tree.setFocus(item, this);
712+
this._tree.setSelection([item], this);
713713
}
714714

715715
focusHighlightedElement(up: boolean): void {

0 commit comments

Comments
 (0)