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 25fc43d commit ddaaa10Copy full SHA for ddaaa10
adafruit_portalbase/__init__.py
100644
100755
@@ -28,7 +28,11 @@
28
from adafruit_bitmap_font import bitmap_font
29
from adafruit_display_text import wrap_text_to_lines
30
from adafruit_display_text.bitmap_label import Label
31
-from adafruit_display_text.outlined_label import OutlinedLabel
+
32
+if not hasattr(Label, "outline_size"):
33
+ from adafruit_display_text.outlined_label import OutlinedLabel
34
+else:
35
+ OutlinedLabel = Label
36
37
__version__ = "0.0.0+auto.0"
38
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git"
0 commit comments