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

Allow either landscape direction after initial rotation #88

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

thornbill
Copy link
Member

This is something of a hack to make sure our rotation lock works like other apps.

All other video apps rotate to LANDSCAPE_RIGHT by default and then allow either LANDSCAPE orientation. If we only lock to LANDSCAPE, then the app will rotate to LANDSCAPE_LEFT. To avoid this we lock to LANDSCAPE_RIGHT and then lock to LANDSCAPE.

Addresses the issue mentioned in this comment.

helicopter spinning

@sonarcloud
Copy link

sonarcloud bot commented Jun 19, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@anthonylavado anthonylavado merged commit ab11d78 into jellyfin:master Jun 19, 2020
@thornbill thornbill deleted the landscape-rotation branch June 19, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants