maplibre-gl-js
maplibre-gl-js copied to clipboard
Add back synced frame method and use it for triggerRepaint.
Launch Checklist
An experimental fix for #4534. With this I can again a capture a single frame with spector.js, as all the rendering is directly done inside the requestAnimationFrame callback.
Unfortunatly tests dont run through but fail after some random point. Probably a race I introduced?
- [x] Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
- [x] Briefly describe the changes in this PR.
- [x] Link to related issues.