From bdd63443e0f87f4a7f8f6ef9bf740c4b612e72f4 Mon Sep 17 00:00:00 2001 From: Judicael <46365844+judicaelandria@users.noreply.github.com> Date: Thu, 21 Jul 2022 18:46:54 +0300 Subject: [PATCH] fix: remove text label gap (#834) --- packages/tldraw/src/state/TLDR.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tldraw/src/state/TLDR.ts b/packages/tldraw/src/state/TLDR.ts index 8f77cbf89..150a99852 100644 --- a/packages/tldraw/src/state/TLDR.ts +++ b/packages/tldraw/src/state/TLDR.ts @@ -1063,7 +1063,7 @@ export class TLDR { return text .replace(TLDR.fixNewLines, '\n') .split('\n') - .map((x) => x || ' ') + .map((x) => x || '') .join('\n') }