stop rendering empty artifacts
This commit is contained in:
parent
b690439222
commit
52d857d1ff
1 changed files with 5 additions and 0 deletions
|
|
@ -190,6 +190,11 @@ export class NextEditWindowManager {
|
|||
diff.offset.character,
|
||||
);
|
||||
|
||||
// Stops the manager from rendering blank windows when there is nothing to render.
|
||||
if (diff.renderableDiff === "") {
|
||||
return;
|
||||
}
|
||||
|
||||
// Create and apply decoration with the text
|
||||
await this.renderTooltip(editor, position, diff.renderableDiff);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue