Skip to content

Commit fa73c81

Browse files
Merge pull request #3 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents b23fc40 + d1e8fd3 commit fa73c81

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

displayio_flipinput.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __init__(
103103
**kwargs,
104104
):
105105

106-
super().__init__(**kwargs, max_size=4)
106+
super().__init__(**kwargs)
107107
# Group elements for the FlipInput.
108108
# 0. The text
109109
# 1. The group holding the temporary scroll bitmap
@@ -235,8 +235,7 @@ def __init__(
235235
self._update_position() # call Widget superclass function to reposition
236236

237237
self._animation_group = displayio.Group(
238-
max_size=1,
239-
scale=self._font_scale,
238+
scale=self._font_scale
240239
) # holds the animation bitmap
241240
# self._animation_group.x = -1 * left * (1)
242241
# self._animation_group.y = -1 * top * (1)

examples/displayio_flipinput_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
my_flip3.value = "2015" # or set the value based on a string that is in the value_list
9393

9494
# Create the group to display and append the FlipInput widgets
95-
my_group = displayio.Group(max_size=3)
95+
my_group = displayio.Group()
9696
my_group.append(my_flip1)
9797
my_group.append(my_flip2)
9898
my_group.append(my_flip3)

0 commit comments

Comments
 (0)