mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
don't trap key events
This commit is contained in:
@@ -55,18 +55,18 @@ local function deactivateSiblings (target)
|
||||
end
|
||||
|
||||
while sibling do
|
||||
local layout = sibling.menuLayout
|
||||
local items = sibling.items
|
||||
|
||||
sibling.active = nil
|
||||
|
||||
local layout = sibling.menuLayout
|
||||
|
||||
if layout and layout.isShown then
|
||||
wasSiblingOpen = true
|
||||
layout:hide()
|
||||
end
|
||||
|
||||
if sibling.items and sibling.items[1] then
|
||||
deactivateSiblings(sibling.items[1])
|
||||
if items and items[1] then
|
||||
deactivateSiblings(items[1])
|
||||
end
|
||||
|
||||
sibling = sibling:getNextSibling()
|
||||
|
||||
Reference in New Issue
Block a user