Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable ability to set orientation #30

Open
djipco opened this issue Jan 12, 2020 · 0 comments
Open

Enable ability to set orientation #30

djipco opened this issue Jan 12, 2020 · 0 comments
Assignees

Comments

@djipco
Copy link

djipco commented Jan 12, 2020

Here is a little proposal: it would be really cool if we could force the orientation used by the camera (portrait or landscape). Currently, there does not seem to be a way to do that.

By the way, I tried doing it with cordova-plugin-screen-orientation but, even though the reported orientation changes, the behaviour of CanvasCameraPlugin does not.

I guess the most logical way would be for CanvasCameraPlugin to simply follow window.screen.orientation. This way it would allow us to set it through the screen orientation plugin (or other) without adding bloat to CanvasCameraPlugin.

Thanks for your work on this plugin!

@Sami-Radi Sami-Radi self-assigned this Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants