From bb1653444c8fc545b29139d8497229ff6249ed8e Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Thu, 5 May 2022 19:13:05 +0200 Subject: [PATCH] Updated How To (markdown) --- How-To.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/How-To.md b/How-To.md index 1c43a2a..c48bbcc 100644 --- a/How-To.md +++ b/How-To.md @@ -16,7 +16,7 @@ local basalt = dofile("basalt.lua") --Here you create a level0 frame (a frame without a parents) only frames can be shown without a parent. --As variable you have to use a unique name - otherwise you wont get a frame object back. :show() immediatly shows the object on the screen -local main = basalt.createFrame("mainFrame"):show() +local main = basalt.createFrame("mainFrame") main:show() local button = main:addButton("clickableButton")