提交 19b6d682 编写于 作者: P Peng Lyu

Fix #68190. Find In Selection regression

上级 78c0836f
......@@ -825,7 +825,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IHorizontalSas
}
}
} else {
this._state.change({ searchScope: undefined }, true);
this._state.change({ searchScope: null }, true);
}
}
}));
......@@ -835,7 +835,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IHorizontalSas
label: NLS_CLOSE_BTN_LABEL + this._keybindingLabelFor(FIND_IDS.CloseFindWidgetCommand),
className: 'close-fw',
onTrigger: () => {
this._state.change({ isRevealed: false, searchScope: undefined }, false);
this._state.change({ isRevealed: false, searchScope: null }, false);
},
onKeyDown: (e) => {
if (e.equals(KeyCode.Tab)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册