Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: refactor getting the window.orientation angle #241

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Conversation

miketaylr
Copy link
Member

@miketaylr miketaylr commented Apr 20, 2023

The old algorithm we got the angle from ScreenOrientation no longer exists, so instead we get the "current orientation angle". But this is a no-op refactor - the result is the same.

Fixes #223


Preview | Diff

The old algorithm we got the angle from ScreenOrientation no longer
exists, so instead we get the "current orientation angle". But this
is a no-op refactor - the result is the same.

Fixes #223
@miketaylr miketaylr requested a review from karlcow April 20, 2023 20:13
@miketaylr
Copy link
Member Author

Let's fix this here, then move this section over to Screen Orientation (#239).

Copy link
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's rewrite it. thanks!

@karlcow karlcow merged commit 59340d0 into main Apr 22, 2023
@karlcow karlcow deleted the issues/223/1 branch April 22, 2023 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Broken references in Compatibility Standard for window.orientation
2 participants