Skip to content

Commit 23e53cd

Browse files
committed
Text: Reset view matrix after text rotation
1 parent 0d33703 commit 23e53cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arcade/text_pyglet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def _draw_label_with_rotation(label: pyglet.text.Label, rotation: float) -> None
114114
# but it's actually valid since we only use it when it was
115115
# previously assigned.
116116
label.x, label.y = x, y
117+
window.view = Mat4()
117118

118119

119120
class Text:

0 commit comments

Comments
 (0)