Commit e0228a9
[widgets] Confirm annotation saves back to the player from TaskInfo
TaskInfo's onAnnotationChanged never called confirmAnnotationsSaved
back on the PreviewPlayer, so the player kept treating the first save
as still pending and silently dropped every annotation drawn afterwards
from a side panel. Align it with the other consumers (Task, Edit,
Playlist, ViewPlaylistModal) — await the dispatch, confirm on success,
restore on failure.
Port of upstream PR #2019.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent ea54dd5 commit e0228a9
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
| 1122 | + | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
1126 | | - | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1127 | 1129 | | |
1128 | 1130 | | |
1129 | 1131 | | |
1130 | 1132 | | |
1131 | 1133 | | |
1132 | 1134 | | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1133 | 1138 | | |
1134 | 1139 | | |
1135 | 1140 | | |
| |||
0 commit comments