mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #770 from WS64/master
Progressbar can now also be turned off in mini bar
This commit is contained in:
@@ -121,6 +121,7 @@ DCREREADER_PROGRESS_BAR = 1
|
||||
|
||||
-- configure "mini" progress bar
|
||||
DMINIBAR_ALL_AT_ONCE = false
|
||||
DMINIBAR_PROGRESSBAR = true
|
||||
DMINIBAR_TIME = true
|
||||
DMINIBAR_PAGES = true
|
||||
DMINIBAR_NEXT_CHAPTER = true
|
||||
|
||||
@@ -75,7 +75,9 @@ function ReaderFooter:init()
|
||||
dimen = Geom:new{ w = text_width, h = self.height },
|
||||
self.progress_text,
|
||||
}
|
||||
table.insert(horizontal_group, bar_container)
|
||||
if DMINIBAR_PROGRESSBAR then
|
||||
table.insert(horizontal_group, bar_container)
|
||||
end
|
||||
table.insert(horizontal_group, text_container)
|
||||
self[1] = BottomContainer:new{
|
||||
dimen = Screen:getSize(),
|
||||
|
||||
Reference in New Issue
Block a user