Skip to content
Snippets Groups Projects
Commit 06c851ba authored by dg's avatar dg
Browse files

better

git-svn-id: http://svn.net-core.org/repos/t-engine4@3539 51575b47-30f0-44d4-a5cc-537603b46e54
parent c54b4fe7
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,8 @@ function _M:generate()
end,
}
self.key:addCommands{
[{"_UP","ctrl"}] = function() self.key:triggerVirtual("MOVE_UP") end,
[{"_DOWN","ctrl"}] = function() self.key:triggerVirtual("MOVE_DOWN") end,
_HOME = function()
if self.sel and self.list[self.sel] then self.list[self.sel].focus_decay = self.focus_decay_max end
self.sel = 1
......
......@@ -196,6 +196,8 @@ function _M:generate()
end,
}
self.key:addCommands{
[{"_UP","ctrl"}] = function() self.key:triggerVirtual("MOVE_UP") end,
[{"_DOWN","ctrl"}] = function() self.key:triggerVirtual("MOVE_DOWN") end,
_HOME = function()
if self.sel and self.list[self.sel] then self.list[self.sel].focus_decay = self.focus_decay_max end
self.sel = 1
......
......@@ -218,6 +218,8 @@ function _M:generate()
}
end
self.key:addCommands{
[{"_UP","ctrl"}] = function() self.key:triggerVirtual("MOVE_UP") end,
[{"_DOWN","ctrl"}] = function() self.key:triggerVirtual("MOVE_DOWN") end,
_HOME = function()
if self.sel and self.list[self.sel] then self.list[self.sel].focus_decay = self.focus_decay_max end
self.sel = 1
......
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