提交 23c6f800 编写于 作者: R Rob Lourens

Fix #26771 - use focus tracker to set search focus context keys

上级 c9a2a5be
......@@ -498,7 +498,7 @@ export class SearchViewlet extends Viewlet {
}
}));
this.toUnbind.push(this.tree.addListener('focus', (event: any) => {
this.toUnbind.push(this.tree.onDOMFocus(e => {
const focus = this.tree.getFocus();
this.firstMatchFocussed.set(this.tree.getNavigator().first() === this.tree.getFocus());
this.fileMatchOrMatchFocussed.set(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册