mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bring back support for disabling progressbar in footer (#2753)
* footer(optimize): remove dead code * footer(fix): disable auto refresh time option when current time is not checked * fix: support disable progress bar again
This commit is contained in:
committed by
Frans de Jonge
parent
9d39f11f59
commit
15fd7fc0ff
@@ -38,8 +38,9 @@ function FrameContainer:paintTo(bb, x, y)
|
||||
|
||||
--@TODO get rid of margin here? 13.03 2013 (houqp)
|
||||
if self.background then
|
||||
bb:paintRoundedRect(x, y, container_width, container_height,
|
||||
self.background, self.radius)
|
||||
bb:paintRoundedRect(x, y,
|
||||
container_width, container_height,
|
||||
self.background, self.radius)
|
||||
end
|
||||
if self.bordersize > 0 then
|
||||
bb:paintBorder(x + self.margin, y + self.margin,
|
||||
|
||||
Reference in New Issue
Block a user