Merge pull request #36902 from zesik/master

Ensure Replace box's width when showing
This commit is contained in:
Peng Lyu 2017-11-22 12:01:54 -08:00 committed by GitHub
commit 8731b39f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,6 +289,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IHorizontalSas
if (this._state.isReplaceRevealed) {
if (!this._codeEditor.getConfiguration().readOnly && !this._isReplaceVisible) {
this._isReplaceVisible = true;
this._replaceInputBox.width = this._findInput.inputBox.width;
this._updateButtons();
}
} else {