Skip to content
Snippets Groups Projects
Commit 993e0217 authored by dg's avatar dg
Browse files

Shift+tab works in equipment window to switch betwen controls

git-svn-id: http://svn.net-core.org/repos/t-engine4@5637 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6537c2e2
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,9 @@ function _M:init(title, actor, filter, action, on_select)
end
end
self.key:addCommands{
[{"_TAB","shift"}] = function() self:moveFocus(1) end,
}
self.key:addBinds{
ACCEPT = function() if self.focus_ui and self.focus_ui.ui == self.c_inven then self:use(self.c_inven.c_inven.list[self.c_inven.c_inven.sel]) end end,
EXIT = function() game.tooltip.locked = false game:unregisterDialog(self) end,
......
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