Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(flame): Export
FixedResolutionViewport
and make `withFixedResol…
…ution` a redirect constructor (#2817) The CameraComponent.withFixedResolution was a factory but can easily be a redirect constructor, allowing developers to use it when they extend the CameraComponent. On top of that the FixedResolutionViewport was not being exported so if a developer wanted to have a custom camera with a FixedResolutionViewport there was no way to do so unless they imported from src/ or copied the code, both are bad practices 😄
- Loading branch information