diff options
author | Ivan Kuchin <tadump+git@gmail.com> | 2013-05-04 02:27:55 +0200 |
---|---|---|
committer | Ivan Kuchin <tadump+git@gmail.com> | 2013-05-04 02:27:55 +0200 |
commit | 352ec7e9addaedb0687eb57816f2ae26ff6ccd20 (patch) | |
tree | ef4663dda76a78d5a274afa0e8b4bb9e25b1b04f /plugin/remotes | |
parent | 247771e129f431fc751140d8da4c2fe60815a51f (diff) | |
download | perl-software-in-gnu-guix-352ec7e9addaedb0687eb57816f2ae26ff6ccd20.tar perl-software-in-gnu-guix-352ec7e9addaedb0687eb57816f2ae26ff6ccd20.tar.gz |
remotes plugin more natural bindings: tap — next, zoom-out — activate overview, zoom-in — deactivate overview
Diffstat (limited to 'plugin/remotes')
-rw-r--r-- | plugin/remotes/remotes.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/remotes/remotes.js b/plugin/remotes/remotes.js index febdf87..694e9c0 100644 --- a/plugin/remotes/remotes.js +++ b/plugin/remotes/remotes.js @@ -28,9 +28,10 @@ .on("swipe-right", function(e){ Reveal.left(); }) .on("swipe-up", function(e){ Reveal.down(); }) .on("swipe-down", function(e){ Reveal.up(); }) - .on("tap", function(e){ - Reveal.toggleOverview(); - }); + .on("tap", function(e){ Reveal.next(); }) + .on("zoom-out", function(e){ Reveal.toggleOverview(true); }) + .on("zoom-in", function(e){ Reveal.toggleOverview(false); }) + ; } ); head.js('https://raw.github.com/Remotes/Remotes/master/dist/remotes.ne.min.js'); |