This commit is contained in:
Hzj_jie
2017-02-01 08:17:01 -08:00
parent 98a86ba62f
commit fa848719ae
2 changed files with 2 additions and 2 deletions

View File

@@ -649,7 +649,7 @@ function Menu:updateItems(select_number)
show_parent = self.show_parent,
state = self.item_table[i].state,
state_size = self.state_size or {},
text = ((self.item_table[i].sub_item_table ~= nil) and "+ " or "") .. self.item_table[i].text,
text = self.item_table[i].text .. ((self.item_table[i].sub_item_table ~= nil) and " >" or ""),
mandatory = self.item_table[i].mandatory,
bold = self.item_table.current == i or self.item_table[i].bold == true,
face = self.cface,

View File

@@ -78,7 +78,7 @@ function TouchMenuItem:init()
item_checked and checked_widget or unchecked_widget
},
TextWidget:new{
text = ((self.item.sub_item_table == nil) and "" or "+ ") .. (self.item.text or self.item.text_func()),
text = (self.item.text or self.item.text_func()) .. ((self.item.sub_item_table == nil) and "" or " >"),
fgcolor = item_enabled ~= false and Blitbuffer.COLOR_BLACK or Blitbuffer.COLOR_GREY,
face = self.face,
},