Environment
- Cross-platform modules: NS 6.1+
Describe the bug
New NS 6 Orientation system has several easily fixed issues:
-
The application.orientation should not have a public setter, as it does nothing other than screw up the orientation value. The application.orientation should be a getter only.
-
The code to "get" orientation is broken. Right now if I do
application.orientation on startup and it returns portrait. Then rotate the device; it will continue to return portrait. This value should either be internally updated by the orientation changed event or never cached...
Reactions are currently unavailable
Environment
Describe the bug
New NS 6 Orientation system has several easily fixed issues:
The application.orientation should not have a public setter, as it does nothing other than screw up the orientation value. The application.orientation should be a getter only.
The code to "get" orientation is broken. Right now if I do
application.orientation on startup and it returns portrait. Then rotate the device; it will continue to return portrait. This value should either be internally updated by the orientation changed event or never cached...