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
@@ -58,6 +58,8 @@ function ProgressWidget:paintTo(bb, x, y)
|
||||
w = my_size.w,
|
||||
h = my_size.h
|
||||
}
|
||||
if self.dimen.w == 0 or self.dimen.h == 0 then return end
|
||||
|
||||
-- fill background
|
||||
bb:paintRoundedRect(x, y, my_size.w, my_size.h, self.bgcolor, self.radius)
|
||||
-- paint border
|
||||
|
||||
Reference in New Issue
Block a user