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:
Qingping Hou
2017-04-11 02:44:58 -07:00
committed by Frans de Jonge
parent 9d39f11f59
commit 15fd7fc0ff
3 changed files with 76 additions and 38 deletions

View File

@@ -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,