Commit 61ccaf9
Invalidate cached suffix geometry in LLFolderViewItem::refreshSuffix
LLFontVertexBuffer::render does not compare the rendered string, so any
path that changes mLabelSuffix must reset the cached geometry or draw()
replays the old text. refresh() already does this; mirror it in
refreshSuffix(), which is reached via arrange() for items deferred from
postBuild(). Currently the buffer is always null on that path (items
arrange before first draw), so this is hardening against reordering or
future callers rather than a user-visible defect.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent de88742 commit 61ccaf9
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| |||
0 commit comments