bug fix in touchmenu, reset menu page on go up

This commit is contained in:
Qingping Hou
2013-04-15 22:09:48 -04:00
parent 0a40658a9d
commit 92cbbabbcf

View File

@@ -354,6 +354,7 @@ end
function TouchMenu:backToUpperMenu()
if #self.item_table_stack ~= 0 then
self.item_table = table.remove(self.item_table_stack)
self.page = 1
self:updateItems()
end
end