From 263a67ea2096dcc0d16be187393c6b94cecfe9bf Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Fri, 29 Mar 2024 11:48:34 +0100 Subject: [PATCH] Removed debug log statement --- packages/text-annotator/src/highlight/span/spansRenderer.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/text-annotator/src/highlight/span/spansRenderer.ts b/packages/text-annotator/src/highlight/span/spansRenderer.ts index d1f57759..cf77c871 100644 --- a/packages/text-annotator/src/highlight/span/spansRenderer.ts +++ b/packages/text-annotator/src/highlight/span/spansRenderer.ts @@ -43,9 +43,7 @@ const createRenderer = (container: HTMLElement): RendererImplementation => { currentStyle?: HighlightStyleExpression, painter?: HighlightPainter, lazy?: boolean - ) => { - console.log('redraw, lazy =', lazy); - + ) => { // Only redraw if annotations or annotation states changed const noChanges = dequal(currentRendered, highlights); if (noChanges && lazy) return;