mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 11:50:07 +00:00
added basic pinch actions, still preliminary...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1f2132c2f6
commit
6e3ce3806c
@ -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...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user