Commit 51cfb6b
Set scaling based on smallest dimension (#15)
This allows it so that scaling is done based on the smallest dimention
being the width.
This fixes the issue that makes it so that rendering isn't overly large
when rendering on landscape and changing to portrait or overly small on
the inverse orientation change.1 parent 10bf38d commit 51cfb6b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
0 commit comments