stop rendering empty artifacts

This commit is contained in:
Jacob Kim 2025-06-24 13:16:04 -07:00
parent b690439222
commit 52d857d1ff

View file

@ -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);
}