From 352ec7e9addaedb0687eb57816f2ae26ff6ccd20 Mon Sep 17 00:00:00 2001 From: Ivan Kuchin Date: Sat, 4 May 2013 02:27:55 +0200 Subject: [PATCH] =?UTF-8?q?remotes=20plugin=20more=20natural=20bindings:?= =?UTF-8?q?=20tap=20=E2=80=94=20next,=20zoom-out=20=E2=80=94=20activate=20?= =?UTF-8?q?overview,=20zoom-in=20=E2=80=94=20deactivate=20overview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/remotes/remotes.js | 7 ++++--- 1 file 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');