Commit bc5e9fc
fix(events): scrub with seek alone, no pause/play wrapper
Each scrub gesture sent CMD_PAUSE on grab and CMD_PLAY on release around the
CMD_SEEK. Those three unordered requests raced and were unnecessary: ZMS handles
a seek without bracketing it, so a single CMD_SEEK per position is enough. Drop
the pause/resume; the scrub-start/end handlers now only gate the status poll so
it does not overwrite the playhead mid-drag.
refs #196
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7d4e5c9 commit bc5e9fc
2 files changed
Lines changed: 16 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
84 | 83 | | |
85 | | - | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
323 | 321 | | |
324 | 322 | | |
325 | 323 | | |
326 | | - | |
327 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
328 | 327 | | |
329 | 328 | | |
330 | | - | |
331 | | - | |
332 | | - | |
| 329 | + | |
333 | 330 | | |
334 | | - | |
| 331 | + | |
335 | 332 | | |
336 | 333 | | |
337 | | - | |
338 | | - | |
| 334 | + | |
339 | 335 | | |
340 | 336 | | |
341 | 337 | | |
| |||
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | | - | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
0 commit comments