From ea82666506b57d6e905b7f2e5fe78498fe5a7abd Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 19 Apr 2021 20:56:05 +0800 Subject: fix issue #49 and issue #50. --- spec/inputs/tables.yue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'spec') diff --git a/spec/inputs/tables.yue b/spec/inputs/tables.yue index 2c6dff9..4cd9b4d 100644 --- a/spec/inputs/tables.yue +++ b/spec/inputs/tables.yue @@ -219,5 +219,23 @@ items = name: "necklace" amount: 1 +menus = + * text: "Save" + sub: + * text: "Slot 1: " .. (slots[1].name or "None") + click: -> + * text: {"Slot 2"} + click: -> + * text: [[Slot 3]] + click: -> + * text: ("Slot 4")\name! + click: -> + * text: ({{"slot5"}})[1]\name! + click: -> + [6]: { + text: ("Slot 6") + click: -> + } + nil -- cgit v1.2.3-55-g6feb