mirror of
https://github.com/flynx/ImageGrid.git
synced 2026-01-07 02:41:08 +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,
|
swipeUp: ImageGrid.shiftImageUp,
|
||||||
swipeDown: ImageGrid.shiftImageDown,
|
swipeDown: ImageGrid.shiftImageDown,
|
||||||
|
})
|
||||||
|
// XXX pinch: do gradual zooming...
|
||||||
|
$('.viewer')
|
||||||
|
.swipe({
|
||||||
|
pinchIn: ImageGrid.scaleContainerDown,
|
||||||
|
pinchOut: ImageGrid.scaleContainerUp,
|
||||||
|
|
||||||
// XXX do gradual zooming...
|
fingers: '2'
|
||||||
//pinchIn: ImageGrid.scaleContainerDown,
|
|
||||||
//pinchOut: ImageGrid.scaleContainerUp,
|
|
||||||
|
|
||||||
fingers: 'all'
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// dragging...
|
// dragging...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user