diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index 5a6d9021..eff24576 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -1232,7 +1232,11 @@ function setupEvents(){ swipeLeft: ImageGrid.nextImage, swipeRight: ImageGrid.prevImage, swipeUp: ImageGrid.shiftImageUp, - swipeDown: ImageGrid.shiftImageDown + swipeDown: ImageGrid.shiftImageDown, + + // XXX do gradual zooming... + pinchIn: ImageGrid.scaleContainerDown, + pinchOut: ImageGrid.scaleContainerUp }) // dragging... // XXX make this work seamlessly with touchSwipe...