Skip to content

Commit

Permalink
Fix microsoft#15959. Align Esc and Close button
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Apr 28, 2017
1 parent 669efe3 commit 2a4e5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/find/browser/findWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export class FindWidget extends Widget implements IOverlayWidget {
label: NLS_CLOSE_BTN_LABEL + this._keybindingLabelFor(FIND_IDS.CloseFindWidgetCommand),
className: 'close-fw',
onTrigger: () => {
this._state.change({ isRevealed: false }, false);
this._state.change({ isRevealed: false, searchScope: null }, false);
},
onKeyDown: (e) => {
if (e.equals(KeyCode.Tab)) {
Expand Down

0 comments on commit 2a4e5f4

Please sign in to comment.