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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4128 51575b47-30f0-44d4-a5cc-537603b46e54
parent 88747812
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ function _M:receiveKey(sym, ctrl, shift, alt, meta, unicode, isup, ismouse)
end end
elseif us and self.binds[us] then
for virt, _ in pairs(self.binds[us]) do if self.virtuals[virt] then
if isup and not _M.binds_def[virt].updown then return end
-- if isup and not _M.binds_def[virt].updown then return end
self.virtuals[virt](sym, ctrl, shift, alt, meta, unicode, isup)
return true
end 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