Skip to content

Commit a598520

Browse files
authored
Merge pull request #984 from MondoBoricua/fix/progress-bar-horizontal-direction
2 parents fcf0b38 + de42e1b commit a598520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/lcd/lcd_comm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def DisplayProgressBar(self, x: int, y: int, width: int, height: int, min_value:
378378
if reverse_direction is True:
379379
x1 = width - bar_filled_width
380380
else:
381-
x1 = bar_filled_width
381+
x2 = bar_filled_width
382382
else:
383383
if reverse_direction is True:
384384
y2 = height - bar_filled_height

0 commit comments

Comments
 (0)