Commit ed09ee7
Fix annotation clear not persisting to disk when currentFileUsesLocalStorage=false
clearAnnotations was silently skipping disk write when the file was opened
in read-only mode or before the local storage flag was set. Now always
attempts to persist via loadLocalFileData/saveLocalFileData fallback path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3060da1 commit ed09ee7
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
584 | 595 | | |
585 | 596 | | |
586 | 597 | | |
| |||
0 commit comments