Commit 9abfac8
xueyuan
fix(types): use Partial<ITextGraphicAttribute> for TextIcon style
The TextIcon.style field was typed as ITextAttribute which:
1. Did not include fill and other graphic attributes from IGraphicAttribute
2. Required all properties to be specified (none were optional)
Change to Partial<ITextGraphicAttribute> which extends both
IGraphicAttribute and ITextAttribute with all properties optional,
allowing partial style definitions with fill support.
Closes #39671 parent 70fcf08 commit 9abfac8
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments