Skip to content

Commit a3ba721

Browse files
committedDec 1, 2024·
CRLF to LF line ending conversion
PyCharm has a mind of its own for settings.
·
1.11.41.10.0
1 parent 3f1434d commit a3ba721

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎adafruit_button/button.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ def height(self, new_height: int) -> None:
294294

295295
def resize(self, new_width: int, new_height: int) -> None:
296296
"""Resize the button to the new width and height given
297-
:param new_width int the desired width
298-
:param new_height int the desired height
297+
:param int new_width: The desired width in pixels.
298+
:param int new_height: he desired height in pixels.
299299
"""
300300
self._width = new_width
301301
self._height = new_height
302302
self._empty_self_group()
303303
self._create_body()
304304
if self.body:
305305
self.append(self.body)
306-
self.label = self.label
306+
self.label = self.label

‎adafruit_button/button_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,4 @@ def label_color(self) -> int:
169169
@label_color.setter
170170
def label_color(self, new_color: Union[int, Tuple[int, int, int]]) -> None:
171171
self._label_color = _check_color(new_color)
172-
self._label.color = self._label_color
172+
self._label.color = self._label_color

‎adafruit_button/sprite_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ def _subclass_selected_behavior(self, value: Optional[Any]) -> None:
142142
self._btn_tilegrid.pixel_shader = self._selected_bmp_palette
143143
else:
144144
self._btn_tilegrid.bitmap = self._bmp
145-
self._btn_tilegrid.pixel_shader = self._bmp_palette
145+
self._btn_tilegrid.pixel_shader = self._bmp_palette

0 commit comments

Comments
 (0)
Please sign in to comment.