From bc4cd06faa8080a34bd0a0b0a08550850a910ddd Mon Sep 17 00:00:00 2001 From: woutervanwijk Date: Mon, 11 Nov 2013 13:54:02 +0100 Subject: [PATCH] random/repeat works again, better swipes some ugly hacks, but it works now --- flatclient/index.html | 12 ++++++------ flatclient/js/gui.js | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/flatclient/index.html b/flatclient/index.html index 3008214..5124988 100755 --- a/flatclient/index.html +++ b/flatclient/index.html @@ -351,13 +351,13 @@ -

- -   -   -

+

+ +   +   +

-
+
diff --git a/flatclient/js/gui.js b/flatclient/js/gui.js index 7221fdf..ea7aa50 100755 --- a/flatclient/js/gui.js +++ b/flatclient/js/gui.js @@ -567,3 +567,8 @@ function locationHashChanged() { document.title = PROGRAM_NAME; return false; } + +$(document).bind("mobileinit", function(){ + $.event.special.swipe.horizontalDistanceThreshold = 100; // (default: 30px) – Swipe horizontal displacement must be more than this. + $.event.special.swipe.verticalDistanceThreshold = 100; // (default: 75px) – Swipe vertical displacement must be less than this. +}); \ No newline at end of file