Skip to content

Commit a4f7a6d

Browse files
committed
Fixed some long lines
1 parent c1a0998 commit a4f7a6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_ra8875/ra8875.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,8 @@ def round_rect(self, x, y, width, height, radius, color):
760760
self._curve_helper(x + radius, y + radius, radius, radius, 1, color, False)
761761
self._curve_helper(x + width - radius - 1, y + radius, radius, radius, 2, color, False)
762762
self._curve_helper(x + radius, y + height - radius, radius, radius, 0, color, False)
763-
self._curve_helper(x + width - radius - 1, y + height - radius, radius, radius, 3, color, False)
763+
self._curve_helper(x + width - radius - 1, y + height - radius, radius, radius, 3, color,
764+
False)
764765
self.hline(x + radius, y, width - (radius * 2) - 1, color)
765766
self.hline(x + radius, y + height, width - (radius * 2) - 1, color)
766767
self.vline(x, y + radius, height - (radius * 2), color)
@@ -781,7 +782,8 @@ def fill_round_rect(self, x, y, width, height, radius, color):
781782
self._curve_helper(x + radius, y + radius, radius, radius, 1, color, True)
782783
self._curve_helper(x + width - radius - 1, y + radius, radius, radius, 2, color, True)
783784
self._curve_helper(x + radius, y + height - radius, radius, radius, 0, color, True)
784-
self._curve_helper(x + width - radius - 1, y + height - radius, radius, radius, 3, color, True)
785+
self._curve_helper(x + width - radius - 1, y + height - radius, radius, radius, 3, color,
786+
True)
785787
self._rect_helper(x + radius, y, x + width - radius - 1, y + height - 1, color, True)
786788
self._rect_helper(x, y + radius, x + width - 1, y + height - radius - 1, color, True)
787789

0 commit comments

Comments
 (0)