-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add Screen.orientation #18480
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
Milestone
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
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