mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-28 13:56:50 +01:00
simplify a line
This commit is contained in:
@@ -302,7 +302,7 @@ export class InlineCompletionsAccessibleViewContribution extends Disposable {
|
||||
if (!lineText) {
|
||||
return false;
|
||||
}
|
||||
const content = InlineCompletionsController.get(editor)?.model.get()?.ghostText.get()?.renderForScreenReader(lineText);
|
||||
const content = state.ghostText.renderForScreenReader(lineText);
|
||||
if (!content) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user