mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Deal with table.pack corner-cases properly (#10350)
c.f., https://github.com/koreader/koreader-base/pull/1603 for more details. Re: #9624
This commit is contained in:
@@ -41,7 +41,7 @@ for _, widget in ipairs(self) do
|
||||
end
|
||||
end
|
||||
-- If not consumed by children, consume it ourself
|
||||
return self["on"..event.name](self, unpack(event.args))
|
||||
return self["on"..event.name](self, unpack(event.args, 1, event.args.n))
|
||||
```
|
||||
|
||||
## Event system
|
||||
|
||||
Reference in New Issue
Block a user