Skip to content

Commit

Permalink
ProgressWidget: fix misalignment (koreader#12526)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbstx authored Oct 6, 2024
1 parent 28b72f0 commit 80975ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/ui/widget/progresswidget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80975ea

Please sign in to comment.