mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[feat] SkimToWidget chapter markers & next/prev chapter/bookmark (#3389)
https://github.com/koreader/koreader/issues/2819#issuecomment-332261968 + refactoring code in skimtowidget + add chapter markers + add next/prev chapter buttons + add next/prev bookmark buttons
This commit is contained in:
@@ -107,9 +107,9 @@ function Button:init()
|
||||
end
|
||||
end
|
||||
|
||||
function Button:setText(text)
|
||||
function Button:setText(text, width)
|
||||
self.text = text
|
||||
self.width = nil
|
||||
self.width = width
|
||||
self:init()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user