Skip to content

Commit c744b32

Browse files
committed
Correcting comment
1 parent e37fd41 commit c744b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skparagraph-example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
style_underline = style.cloneForPlaceholder()
4242
style_underline.setDecoration(textlayout.TextDecoration.kUnderline)
43-
style_underline.setDecorationMode(textlayout.TextDecorationMode.kGaps) # Rust seems to default to kThrough
43+
style_underline.setDecorationMode(textlayout.TextDecorationMode.kGaps) # Rust seems to default to kGaps, while kThrough is the upstream default.
4444
style_underline.setDecorationColor(ColorBLACK)
4545
style_underline.setDecorationThicknessMultiplier(1.5)
4646
builder.pushStyle(style_underline)

0 commit comments

Comments
 (0)