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

Fix letterbox scaling #595

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Fix letterbox scaling #595

wants to merge 1 commit into from

Conversation

Anheurystics
Copy link
Contributor

The old letterbox behavior changed screen width and height even after modifying screen scale, stretching the screen in a weird way. No option for black bars yet.

@bendmorris
Copy link
Member

Can you post some screenshots of the problem you're fixing? Setting the rendered area to the full screen size isn't letterboxing - maybe you wanted a different scale mode?

@Anheurystics
Copy link
Contributor Author

Not sure if I got the new behavior right (either I remove the change to screen.width/height, or the change to screen.scale), but the behavior I used to get is like this:
old_letterbox

Whereas my change turns it into this:
new_letterbox

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.

None yet

2 participants