cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject [32/50] cordova-plugin-screen-orientation git commit: Add portrait upside down to ios default orientations. closes #37
Date Mon, 23 May 2016 13:42:30 GMT
Add portrait upside down to ios default orientations. closes #37


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/commit/0eb6d35f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/tree/0eb6d35f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/diff/0eb6d35f

Branch: refs/heads/master
Commit: 0eb6d35fc6f6a440fefd75ef1e1a20bb0f89227f
Parents: c8b8900
Author: Grant Benvenuti <g.benvenuti@pni.com.au>
Authored: Mon Aug 10 09:40:42 2015 +1000
Committer: Grant Benvenuti <g.benvenuti@pni.com.au>
Committed: Mon Aug 10 09:40:42 2015 +1000

----------------------------------------------------------------------
 www/screenorientation.ios.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/0eb6d35f/www/screenorientation.ios.js
----------------------------------------------------------------------
diff --git a/www/screenorientation.ios.js b/www/screenorientation.ios.js
index 11d30f7..b21823d 100644
--- a/www/screenorientation.ios.js
+++ b/www/screenorientation.ios.js
@@ -8,7 +8,7 @@ var exec = require('cordova/exec'),
         'landscape': [-90,90],
         'landscape-primary': [-90],
         'landscape-secondary': [90],
-        'default': [-90,90,0]
+        'default': [-90,90,0,180]
     };
 
 screenOrientation.setOrientation = function(orientation) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message