From a9fb455ec039167f94b944a711b5c67b1b13dc6a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 7 Apr 2019 13:01:02 +0200 Subject: [PATCH] example/mainmenu: add a back button --- examples/mainmenu/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/mainmenu/init.lua b/examples/mainmenu/init.lua index a6c1486..7e0f8fc 100644 --- a/examples/mainmenu/init.lua +++ b/examples/mainmenu/init.lua @@ -58,6 +58,7 @@ end function MainMenu:addSubMenu(name, fullname) self:addMenu(name) SubMenuWidget(self, "main", name, fullname) + SubMenuWidget(self, name, "main", "< Back") end function MainMenu:addScene(submenu, scene, fullname)