From d2271f04211ca2aa1b776f0a8d3e433876a9af9f Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Tue, 30 Jul 2019 01:17:45 -0700 Subject: [PATCH] Update text-editor.component.ts --- .../drawings-editors/text-editor/text-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts b/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts index 4027a6bb..53b5c0dc 100644 --- a/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts +++ b/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts @@ -26,7 +26,7 @@ import { RotationValidator } from '../../../../validators/rotation-validator'; styleUrls: ['./text-editor.component.scss'] }) export class TextEditorDialogComponent implements OnInit { - @ViewChild('textArea', {static: false}) textArea: ElementRef; + @ViewChild('textArea', {static: true}) textArea: ElementRef; server: Server; project: Project;