Skip to content
Snippets Groups Projects
Commit 6b83261a authored by dg's avatar dg
Browse files

git-svn-id: http://svn.net-core.org/repos/t-engine4@1420 51575b47-30f0-44d4-a5cc-537603b46e54
parent d777179c
No related branches found
No related tags found
No related merge requests found
......@@ -262,8 +262,8 @@ end
function _M:moveFocus(v)
local id = self.focus_ui_id
local start = id or 1
id = util.boundWrap((id or 1) + v, 1, #self.uis)
local start = id
while start ~= id do
if self.uis[id].ui.can_focus then
self:setFocus(id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment