andreasgal/gaia — pull request #1306 by davidflanagan (2012-04-30 23:31:50+00:00)
Title: redo gesture support for the gallery app

This pull request changes the way gestures are handled in the Gallery app. Previously it handled 1-finger pan gestures with completely different code than it used for 2-finger pinch gestures. But this lead to very difficult bugs. So the new approach integrates all gesture handling in one place, GestureDetector.js. I think this is a much better way to handle it, and I'm hopeful that we'll be able to use GestureDetector.js elsewhere in Gaia.

One of the newly supported gestures is "dbltap", and the gallery now zooms in and out on dbltab, which is nice on the desktop where we can't do pinch-to-zoom.

This pull request also includes a few minor CSS tweaks and some slightly resized images.