mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix location of progress bar ticks (#3382)
This commit is contained in:
@@ -77,7 +77,7 @@ function ProgressWidget:paintTo(bb, x, y)
|
||||
local bar_height = my_size.h-2*(self.margin_v+self.bordersize)
|
||||
for i=1, #self.ticks do
|
||||
bb:paintRect(
|
||||
x + bar_width*(self.ticks[i]/self.last),
|
||||
x + bar_width*(self.ticks[i]/self.last) + self.margin_h,
|
||||
y_pos,
|
||||
self.tick_width,
|
||||
bar_height,
|
||||
|
||||
Reference in New Issue
Block a user