From 5211b003b88fa5baf2620059ee21d5b864a13d97 Mon Sep 17 00:00:00 2001 From: David Luzar <5153846+dwelle@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:48:04 +0200 Subject: [PATCH] fix: double text rendering on edit (#7904) --- packages/excalidraw/renderer/staticScene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/excalidraw/renderer/staticScene.ts b/packages/excalidraw/renderer/staticScene.ts index c2b5f218a..b7dcdd59a 100644 --- a/packages/excalidraw/renderer/staticScene.ts +++ b/packages/excalidraw/renderer/staticScene.ts @@ -281,7 +281,7 @@ const _renderStaticScene = ({ ); } - const boundTextElement = getBoundTextElement(element, allElementsMap); + const boundTextElement = getBoundTextElement(element, elementsMap); if (boundTextElement) { renderElement( boundTextElement,