Skip to content

bug: application.orientation #7815

@NathanaelA

Description

@NathanaelA

Environment

  • Cross-platform modules: NS 6.1+

Describe the bug
New NS 6 Orientation system has several easily fixed issues:

  1. 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.

  2. 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...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions