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.
2 parents bfe553c + b46fd23 commit 3cef395Copy full SHA for 3cef395
1 file changed
bbb_presentation_video/renderer/tldraw/v2/shape/text.py
@@ -60,11 +60,8 @@ def finalize_text(
60
ctx.push_group()
61
62
width = None
63
- wrap = False
64
- if not shape.auto_size:
65
- wrap = True
66
- if shape.size.width > 0:
67
- width = shape.size.width
+ if not shape.auto_size and shape.size.width > 0:
+ width = shape.size.width
68
69
layout = create_pango_layout(
70
ctx,
@@ -73,7 +70,6 @@ def finalize_text(
73
FONT_SIZES[style.size],
74
71
width=width,
75
72
align=shape.align,
76
- wrap=wrap,
77
letter_spacing=None,
78
)
79
layout.set_text(shape.text, -1)
0 commit comments