mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
some minor changes to avoid long access paths into tables
This commit is contained in:
@@ -63,6 +63,13 @@ function WidgetContainer:getSize()
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
delete all child widgets
|
||||
]]--
|
||||
function WidgetContainer:clear()
|
||||
while table.remove(self) do end
|
||||
end
|
||||
|
||||
function WidgetContainer:paintTo(bb, x, y)
|
||||
-- default to pass request to first child widget
|
||||
if self[1] then
|
||||
|
||||
Reference in New Issue
Block a user