mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-02 20:30:09 +00:00
more tweeks to pinching...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6756b9d789
commit
02560c9dce
@ -1234,12 +1234,14 @@ function setupEvents(){
|
||||
|
||||
swipeUp: ImageGrid.shiftImageUp,
|
||||
swipeDown: ImageGrid.shiftImageDown,
|
||||
|
||||
// XXX do gradual zooming...
|
||||
//pinchIn: ImageGrid.scaleContainerDown,
|
||||
//pinchOut: ImageGrid.scaleContainerUp,
|
||||
})
|
||||
// XXX pinch: do gradual zooming...
|
||||
$('.viewer')
|
||||
.swipe({
|
||||
pinchIn: ImageGrid.scaleContainerDown,
|
||||
pinchOut: ImageGrid.scaleContainerUp,
|
||||
|
||||
fingers: 'all'
|
||||
fingers: '2'
|
||||
})
|
||||
|
||||
// dragging...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user