mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
set currentMatch on find changes only (#11215)
This commit is contained in:
@@ -346,7 +346,7 @@ export class NotebookEditor extends BaseEditor implements IFindNotebookControlle
|
||||
this._findDecorations.getCount(),
|
||||
this._currentMatch
|
||||
);
|
||||
if (this._finder.getDomNode().style.visibility === 'visible') {
|
||||
if (this._finder.getDomNode().style.visibility === 'visible' && this._previousMatch !== this._currentMatch) {
|
||||
this._setCurrentFindMatch(this._currentMatch);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user