Skip to content

Commit

Permalink
Do not close peek widget when changing editors
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <[email protected]>
  • Loading branch information
RomanNikitenko committed Mar 5, 2020
1 parent 02ae87b commit 1669e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/monaco/src/browser/monaco-editor-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export class MonacoEditorProvider {

const modelPromise = Promise.resolve(model) as any;
modelPromise.cancel = () => { };
openedEditor._contributions['editor.contrib.referencesController'].toggleWidget(range, modelPromise, false);
openedEditor._contributions['editor.contrib.referencesController'].toggleWidget(range, modelPromise, true);
return;
}

Expand Down

0 comments on commit 1669e59

Please sign in to comment.