mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ProgressWidget: fix misalignment (#12526)
This commit is contained in:
@@ -141,7 +141,7 @@ function ProgressWidget:paintTo(bb, x, y)
|
||||
-- Otherwise, we have to start with the background.
|
||||
bb:paintRoundedRect(x, y, my_size.w, my_size.h, self.bgcolor, self.radius)
|
||||
-- Then the border around that.
|
||||
bb:paintBorder(x, y,
|
||||
bb:paintBorder(math.floor(x), math.floor(y),
|
||||
my_size.w, my_size.h,
|
||||
self.bordersize, self.bordercolor, self.radius)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user