Commit 58db55f
committed
fix(animation): don't trigger <done> when clearing animation
Previously we did not properly separate completion from clearing an
animation; we would not properly be able to distinguish both,
effectively always triggering the animation <done> effect, also when
clearing a scope (i.e. because it was terminated).
This change moves the control over individual animations to the
animation service, and applies <done> only when the animation completes
normally.1 parent 10c82bc commit 58db55f
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
189 | 195 | | |
190 | 196 | | |
191 | 197 | | |
| |||
320 | 326 | | |
321 | 327 | | |
322 | 328 | | |
323 | | - | |
| 329 | + | |
324 | 330 | | |
325 | 331 | | |
326 | 332 | | |
| |||
405 | 411 | | |
406 | 412 | | |
407 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
408 | 418 | | |
409 | 419 | | |
410 | 420 | | |
411 | 421 | | |
412 | | - | |
413 | | - | |
414 | 422 | | |
415 | 423 | | |
416 | 424 | | |
| |||
0 commit comments