Force a sync render after resize occurs

Fixes #4922
Related microsoft/vscode#230120
This commit is contained in:
Daniel Imms
2025-12-28 14:38:42 -08:00
parent b989c5a568
commit 4619a755b1
3 changed files with 18 additions and 4 deletions
+5
View File
@@ -39,6 +39,11 @@ export interface IRenderDimensions {
export interface IRequestRedrawEvent {
start: number;
end: number;
/**
* Whether the redraw should happen synchronously. This is used to avoid
* flicker when the canvas is resized.
*/
sync?: boolean;
}
/**