From ba6cc87424f5508840bdd38dffcac585dcbcc9b8 Mon Sep 17 00:00:00 2001 From: Robert Date: Fri, 20 Oct 2017 17:49:13 +0200 Subject: [PATCH] Fix location of progress bar ticks (#3382) --- frontend/ui/widget/progresswidget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/widget/progresswidget.lua b/frontend/ui/widget/progresswidget.lua index 622fe4c3b..9b0695359 100644 --- a/frontend/ui/widget/progresswidget.lua +++ b/frontend/ui/widget/progresswidget.lua @@ -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,