From ed8409b6443aaf347008fc7f01b600e475c4559d Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 14 Sep 2019 20:10:32 -0700 Subject: [PATCH] Return a string so other methods don't crash --- modern/src/runtime/Text.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modern/src/runtime/Text.ts b/modern/src/runtime/Text.ts index a98d612e..00aa076f 100644 --- a/modern/src/runtime/Text.ts +++ b/modern/src/runtime/Text.ts @@ -23,7 +23,7 @@ class Text extends GuiObject { gettext() { unimplementedWarning("gettext"); - return; + return ""; } gettextwidth() {