Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 2d836eea0 -> 555d55ac8


Fixes CB-10607

When the device is in portrait upside down the toolbar appears at the
bottom. This fix set the origin to the 0,0 point


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/555d55ac
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/555d55ac
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/555d55ac

Branch: refs/heads/master
Commit: 555d55ac8a3a6b6800e7cdb088b2be26d42e8c44
Parents: 2d836ee
Author: Julio César <[email protected]>
Authored: Sat Feb 13 19:33:21 2016 +0100
Committer: Julio César <[email protected]>
Committed: Sat Feb 13 19:33:21 2016 +0100

----------------------------------------------------------------------
 src/ios/CDVInAppBrowser.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/555d55ac/src/ios/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m
index 8b2c90c..8e5a75e 100644
--- a/src/ios/CDVInAppBrowser.m
+++ b/src/ios/CDVInAppBrowser.m
@@ -1019,8 +1019,8 @@
             CGFloat temp = rect.size.width;
             rect.size.width = rect.size.height;
             rect.size.height = temp;
-            rect.origin = CGPointZero;
         }
+        rect.origin = CGPointZero;
     }
     return rect;
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to