Commit c55e83d
basicwidget: point SetBold at Weight for reading
TextStyle.SetBold has no Bold getter, as bold is a point on the weight
axis rather than a boolean, and a getter would have to invent a
threshold for which weights count as bold. Note in its doc comment
that TextStyle.Weight reads the weight back, alongside the existing
pointer at UnsetWeight for unsetting it.
Updates #131
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 6f86d8d commit c55e83d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments