Repository navigation
Commit afe020a
authored
fix(core): a GSAP call added after the first seek fires once, not twice (#4948)
The seek path skips its silent re-render on timelines with a zero-duration callback, because that
re-render re-arms the callback and the next forward seek fires it again. The answer was cached per
timeline on the first seek, so a tl.call added later was never seen: the re-render ran and the call
fired twice. The check now reads the timeline's current children on every seek.1 parent b3c5207 commit afe020a
2 files changed
Lines changed: 25 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2897 | 2897 | | |
2898 | 2898 | | |
2899 | 2899 | | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
2900 | 2923 | | |
2901 | 2924 | | |
2902 | 2925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4249 | 4249 | | |
4250 | 4250 | | |
4251 | 4251 | | |
4252 | | - | |
4253 | 4252 | | |
4254 | 4253 | | |
4255 | 4254 | | |
| |||
4271 | 4270 | | |
4272 | 4271 | | |
4273 | 4272 | | |
4274 | | - | |
4275 | | - | |
4276 | | - | |
4277 | 4273 | | |
4278 | 4274 | | |
4279 | 4275 | | |
| |||
4283 | 4279 | | |
4284 | 4280 | | |
4285 | 4281 | | |
4286 | | - | |
4287 | | - | |
4288 | | - | |
4289 | | - | |
4290 | | - | |
4291 | 4282 | | |
4292 | 4283 | | |
| 4284 | + | |
4293 | 4285 | | |
4294 | 4286 | | |
4295 | 4287 | | |
| |||
4300 | 4292 | | |
4301 | 4293 | | |
4302 | 4294 | | |
4303 | | - | |
4304 | | - | |
4305 | | - | |
4306 | | - | |
| 4295 | + | |
4307 | 4296 | | |
4308 | | - | |
4309 | | - | |
4310 | 4297 | | |
4311 | 4298 | | |
4312 | 4299 | | |
| |||
0 commit comments