Fix iOS orientation logic typo (#573)
- This typo results in all roughly face-up still pictures being interpreted as portrait shots.
This commit is contained in:
parent
5ed6b81493
commit
edcd2435de
|
@ -77,7 +77,7 @@
|
||||||
if(acceleration.x <= -0.75) {
|
if(acceleration.x <= -0.75) {
|
||||||
return UIInterfaceOrientationLandscapeRight;
|
return UIInterfaceOrientationLandscapeRight;
|
||||||
}
|
}
|
||||||
if(acceleration.y >= -0.75) {
|
if(acceleration.y <= -0.75) {
|
||||||
return UIInterfaceOrientationPortrait;
|
return UIInterfaceOrientationPortrait;
|
||||||
}
|
}
|
||||||
if(acceleration.y >= 0.75) {
|
if(acceleration.y >= 0.75) {
|
||||||
|
|
Loading…
Reference in New Issue