soulwire/sketch.js

cursor position bug in particles.html introduced in aa167ae3e7d

Closed this issue · 2 comments

desired: particles should appear directly under finger/mouse (seen in master / 9a6b65a)
observed: particles displaced down and left of finger/mouse in proportion to distance from upper left (0, 0) (seen in top of tree master / aa167ae )

reproduces on these devices:
MacBook, OS 10.9.4, Chrome v37.0.2062.94
iPhone 5S, iOS 7.1.2 (11D257)

Hi Aneesh,

I'm not seeing that in the current master in that version of Chrome on Mac or in the iOS emulator. Can you confirm this is still happening after the last commit?

My instinct is that it's to do with retina - does your MacBook have a retina screen and if so are the mouse offsets proportional to devicePixelRatio from what you can see?

Thanks

confirmed fixed in 33cac83 on macbook retina and iphone 5s. still repros in aa167ae. bug appears to be independent of display scaling, as it repros for every resolution in System Preferences > Displays.