What is Nostr?
Bill St. Clair /
npub1dg0…yhcz
2024-02-10 13:04:43

Bill St. Clair on Nostr: mammudeck.com now properly responds to rotation of an iPhone from landscape to ...

mammudeck.com now properly responds to rotation of an iPhone from landscape to portrait mode. The problelm was that 'window.innerHeight' and 'window.innerWidth' do not get set until the 'window on resize' method returns, and I was sampling them inside there (or something like that). I changed the handler to call 'Dom.getViewport'.

Look Ma, he fixed a long-standing, and very irritable bug.

#mammudeck
Author Public Key
npub1dg046vspfdz5jz68esehlfgvszz8wj8m3vjz99akva8x5d8y5alssfyhcz