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: "Scale to Fit (Letterbox)" crops off the edges #21

Merged
merged 1 commit into from Apr 7, 2016

Conversation

iamletmethink
Copy link
Contributor

Rather than deciding based on the screen dimensions as is done currently (which is flawed), I am now calculating the scale using the minimum to get a side to the edge for scale to fit letterbox and the maximum for scale to fit fill. This means that letterboxing can occur on both the x and the y axis.

Rather than deciding based on the screen dimensions as is done currently (which is flawed), I am now calculating the scale using the minimum to get a side to the edge for scale to fit letterbox and the maximum for scale to fit fill. This means that letterboxing can occur on both the x and the y axis.
@darioseidl darioseidl merged commit 48b4641 into Stencyl:master Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants