Send TOC parameters to progressbar

This commit is contained in:
WS64
2014-08-09 08:59:55 +02:00
parent e0c9501f85
commit 844ae29fe5

View File

@@ -65,6 +65,8 @@ function ReaderFooter:init()
width = math.floor(Screen:getWidth() - text_width - self.padding),
height = self.bar_height,
percentage = self.progress_percentage,
TOC = self.ui.document:getToc(),
last = self.pages,
}
local horizontal_group = HorizontalGroup:new{}
local bar_container = RightContainer:new{