Skip to content

Commit 57eb704

Browse files
committed
Arrange folders to match library standard organization
1 parent adb2dc0 commit 57eb704

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
6 KB
Binary file not shown.
File renamed without changes.

widgets/switch_round.py renamed to adafruit_displayio_layout/widgets/switch_round.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
from adafruit_display_shapes.circle import Circle
3939
from adafruit_display_shapes.roundrect import RoundRect
4040
from adafruit_display_shapes.rect import Rect
41-
from widget import Widget
42-
from control import Control
43-
from widget_label import WidgetLabel
41+
from adafruit_displayio_layout.widgets.widget import Widget
42+
from adafruit_displayio_layout.widgets.control import Control
43+
from adafruit_displayio_layout.widgets.widget_label import WidgetLabel
4444

4545

4646
class SwitchRound(Widget, Control):
@@ -117,7 +117,7 @@ def __init__(
117117
# 2. switch_circle: The switch button
118118
# 3. Optional - widget label
119119
# 4. Optional: text_0: The "0" circle on the switch button
120-
# 5. Optional: text_1: The "1" rectangle on the switch button
120+
# 5. Optional: text_1: The "1" rectangle on the switch button
121121

122122
# initialize the Control superclass
123123
super(Control, self).__init__()
File renamed without changes.

0 commit comments

Comments
 (0)