Skip to content

Commit 40f33b0

Browse files
authored
Bump to pyglet 2.0.14 to get label fixes (#2016)
* Bump to pyglet 2.0.14 to get label fixes * Fix pyright issue on colors
1 parent 887a5ce commit 40f33b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arcade/gui/widgets/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def __init__(
354354
self.doc, width - self.LAYOUT_OFFSET, height, multiline=multiline
355355
)
356356
self.layout.x += self.LAYOUT_OFFSET
357-
self.caret = Caret(self.layout, color=caret_color)
357+
self.caret = Caret(self.layout, color=Color.from_iterable(caret_color))
358358
self.caret.visible = False
359359

360360
self._blink_state = self._get_caret_blink_state()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ classifiers = [
2121
"Topic :: Software Development :: Libraries :: Python Modules"
2222
]
2323
dependencies = [
24-
"pyglet>=2.0.12,<2.1",
24+
"pyglet>=2.0.14,<2.1",
2525
"pillow~=10.0.0",
2626
"pymunk~=6.5.1",
2727
"pytiled-parser~=2.2.3"

0 commit comments

Comments
 (0)