We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93cbd71 commit ae43b15Copy full SHA for ae43b15
adafruit_button/sprite_button.py
@@ -56,7 +56,8 @@ def __init__(
56
selected_label=None,
57
bmp_path=None,
58
selected_bmp_path=None,
59
- transparent_index=None
+ transparent_index=None,
60
+ label_scale=None
61
):
62
if bmp_path is None:
63
raise ValueError("Please supply bmp_path. It cannot be None.")
@@ -71,6 +72,7 @@ def __init__(
71
72
label_font=label_font,
73
label_color=label_color,
74
selected_label=selected_label,
75
+ label_scale=label_scale
76
)
77
78
self._bmp, self._bmp_palette = load(bmp_path)
0 commit comments