purescript-web/purescript-web-html

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

Closed this issue · 0 comments

Turns out that scrollY and scrollX in Web.HTML.Window can return subpixel values!

I suppose the type needs to be changed from Window -> Effect Int to Window -> Effect Number.