Skip to content

Add Screen.orientation #18480

Closed
Closed
@mhegazy

Description

@mhegazy

From @kenchris on September 14, 2017 13:42

[js] Property 'orientation' does not exist on type 'Screen'. Did you mean 'msOrientation'?

Though screen.orientation is what Chrome uses

mat4.rotateZ(this.rotationMatrix, this.rotationMatrix, toRad(window.screen.orientation.angle || 0));

Copied from original issue: microsoft/vscode#34381

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions