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
1 parent
6626989
commit 3420d0e
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters