mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Refactored to use strictly locals
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
ReaderFont = InputContainer:new{
|
||||
local InputContainer = require("ui/widget/container/inputcontainer")
|
||||
local Device = require("ui/device")
|
||||
local Screen = require("ui/screen")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local _ = require("gettext")
|
||||
|
||||
local ReaderFont = InputContainer:new{
|
||||
font_face = nil,
|
||||
font_size = nil,
|
||||
line_space_percent = nil,
|
||||
@@ -231,3 +237,5 @@ function ReaderFont:addToMainMenu(tab_item_table)
|
||||
sub_item_table = self.face_table,
|
||||
})
|
||||
end
|
||||
|
||||
return ReaderFont
|
||||
|
||||
Reference in New Issue
Block a user