mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-05 01:32:59 +08:00
Add portrait upside down to ios default orientations. closes #37
This commit is contained in:
parent
c8b89002f9
commit
0eb6d35fc6
@ -8,7 +8,7 @@ var exec = require('cordova/exec'),
|
|||||||
'landscape': [-90,90],
|
'landscape': [-90,90],
|
||||||
'landscape-primary': [-90],
|
'landscape-primary': [-90],
|
||||||
'landscape-secondary': [90],
|
'landscape-secondary': [90],
|
||||||
'default': [-90,90,0]
|
'default': [-90,90,0,180]
|
||||||
};
|
};
|
||||||
|
|
||||||
screenOrientation.setOrientation = function(orientation) {
|
screenOrientation.setOrientation = function(orientation) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user