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

#150 - No longer allow resolutions higher than device display #154

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

DaSpood
Copy link
Collaborator

@DaSpood DaSpood commented Jan 17, 2024

#150

Fix handling of portrait/landscape orientations in resolution helper, and prevent using resolutions that are higher than the available space.

While this does not affect the preview in fillAvailableSpace mode besides the resolution cap (this mode still stretches by design), this should (it did when tested) prevent the fitToPicture mode from stretching/flattening while it tries to fit inside the view using a combination of higher resolution and different aspect ratio.

@DaSpood DaSpood merged commit ecc1a5e into master Jan 17, 2024
2 checks passed
@DaSpood DaSpood deleted the 150-camera-distortion branch January 17, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant