mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-09 15:58:22 +00:00
fix #41
This commit is contained in:
@@ -380,8 +380,7 @@ This color is used to indicate the selected range of text.
|
|||||||
self:onKeyPress(function (event)
|
self:onKeyPress(function (event)
|
||||||
local act = self.keyActions[event.key]
|
local act = self.keyActions[event.key]
|
||||||
if act then
|
if act then
|
||||||
local result = act()
|
if act() then return end
|
||||||
if result then return true end
|
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user