fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

Clean up the browser-specific code in mousewheel #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The original code did user agent detection every time a mouse wheel value was 
requested. This code computes user agent metadata once at game startup, and 
then uses that metadata in getMouseWheelVelocity().

http://code.google.com/r/samskivert-playn/source/detail?r=79ef631529537cfc743a46
dafe5ac77b9b8e9371&name=html-mouse-fix

Original issue reported on code.google.com by samskiv...@gmail.com on 6 Aug 2011 at 10:53

GoogleCodeExporter commented 9 years ago

Original comment by pdr@google.com on 6 Aug 2011 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by samskiv...@gmail.com on 8 Aug 2011 at 4:23