Skip to content

Fix type of Web.HTML.Window.(scrollX|scrollY) #17

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

Merged

Conversation

colinwahl
Copy link
Contributor

See scrollY and scrollX in Web.HTML.Window - these functions can return subpixel values on scaled screens.

This intends to close #16

@colinwahl
Copy link
Contributor Author

Friendly bump :)

Copy link
Contributor

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

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

Sorry for the lack of responsiveness. Since this is a breaking change, we generally try to bunch those up together across libraries which are used by a lot of the ecosystem, so I think we will probably want to publish this alongside all of the other breaking changes we're going to make for version 0.14.0 of the compiler.

@thomashoneyman thomashoneyman added the purs-0.14 A reminder to address this issue or merge this PR before we release PureScript v0.14.0 label Dec 10, 2020
@thomashoneyman thomashoneyman merged commit 6da0fcb into purescript-web:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
purs-0.14 A reminder to address this issue or merge this PR before we release PureScript v0.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web.HTML.Window.(scrollX|scrollY) should have type Window -> Effect Number
3 participants